textOffset

Type: Integer

Availability: Read or write at any time

The textOffset property of the Text Box class contains the pixel offset of the left and right margins for text displayed in a text box, which can improve the appearance of the displayed text.

The default value is zero (0). An exception is raised if the value is set to a negative value.

When the value is greater than zero, the text in the text box is displayed the specified number of pixels from the left and right of the text box client area, to create a left and right margin where text is not displayed.

The specified value is ignored if the effective text area is less than 5 pixels wide (that is, the text is too small for the margin to be applied).

2016.0.01 and higher