Click or drag to resize

TextBox Constructor (DocumentModel, Layout)

Initializes a new instance of empty TextBox with specified layout (position and size).

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 27.3.30.1101
Syntax
public TextBox(
	DocumentModel document,
	Layout layout
)

Parameters

document
Type: GemBox.DocumentDocumentModel
The owner document.
layout
Type: GemBox.DocumentLayout
The text-box layout (position and size).
Exceptions
ExceptionCondition
ArgumentNullExceptionlayout is .
See Also