Click or drag to resize
TextBox Constructor (DocumentModel, Layout, ShapeType)
Initializes a new instance of empty TextBox with specified layout (position and size) and shape type.

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

Parameters

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