Click or drag to resize

TextBoxFormatColumnNumber Property

Gets or sets the number of columns of text in the bounding rectangle.

Default value is 1.

This property is not applicable on a TextBox within a TableCell.

This member is currently not supported in PDF, XPS and image formats.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public int ColumnNumber { get; set; }

Property Value

Type: Int32
The number of columns of text in the bounding rectangle.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionValue is less than 1.
Remarks
When applied to a TextBox this property takes the width of the bounding box for the text and divides it by the number of columns specified. These columns are then treated as overflow containers in that when the previous column has been filled with text the next column acts as the repository for additional text. When all columns have been filled and text still remains then the overflow properties set for this TextBox are used and the text is reflowed to make room for additional text.
See Also