Skip to main content

TdxSpreadSheetCustomTextBox.AutoSize Property

Specifies if the text box dimensions are adjusted to fit its contents.

Declaration

property AutoSize: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

By default, the comment container‘s text box initially has a width of 130 pixels and a height of 75 pixels. If the wrapped text does not fit the comment text box either horizontally or vertically, it is truncated. To automatically adjust the comment text box dimensions to the content size, set the AutoSize property to True.

The AutoSize Property Value Example
True
False

Note

Unlike comments, text box containers have no size limitations if the AutoSize property is set to False.

The default value of the AutoSize property is False.

See Also