Click or drag to resize

TextBox Constructor (DocumentModel, Layout, IEnumerableBlock)

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: 27.3.30.1192
Syntax
public TextBox(
	DocumentModel document,
	Layout layout,
	IEnumerable<Block> blocks
)

Parameters

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