Click or drag to resize
TextBox Constructor (DocumentModel, Layout, Block)
Initializes a new instance of the TextBox class with specified layout (position and size) and content.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
public TextBox(
	DocumentModel document,
	Layout layout,
	params Block[] blocks
)

Parameters

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