ChartDirector Ver 4.0 (Perl Edition)
TextBox.setMaxWidth
Usage
setMaxWidth(maxWidth)
Description
Sets the maximum width of the text box and wraps text if necessary.
By default, the width of the text box is automatically determined to be the lenght of the text. The setMaxWidth method can be used to limit the width of the text box. If the text requires a longer width for display, the text will be wrapped into multiple lines.
Arguments
| Argument | Default | Description |
| maxWidth | (Mandatory) | The maximum width of the text box in pixels. |
Return Value
None
© 2005 Advanced Software Engineering Limited. All rights reserved.