ChartDirector 7.0 (ASP/COM/VB 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 length of the text. This method can be used to limit the width of the text box. If the text requires a longer width for display, it will be wrapped into multiple lines.
Arguments
Argument | Default | Description |
maxWidth | (Mandatory) | The maximum width of the text box in pixels. |
Return Value
None
© 2021 Advanced Software Engineering Limited. All rights reserved.