ChartDirector 6.2 (.NET Edition)

TextBox.setWidth


Usage

[C#] public void setWidth(int width);
[VB] Public Sub setWidth(width As Integer)

Description

Sets the width of the text box and wraps text if necessary.

By default, the width of the text box is automatically determined to be the length of the text. The setWidth method can be used to specified a fix width. If the text requires a longer width for display, the text will be wrapped into multiple lines.

Arguments

ArgumentDefaultDescription
width(Mandatory)The width of the text box in pixels.

Return Value

None