Size to Text Method
Short Name: Size to Text
Installed With: Base Package
Class: String Methods
Resizes the string control vertically to show all text. This method does not resize the string control horizontally.
This property is similar to the Size to text option on the Appearance page of the Properties dialog box.
Remarks
The following table lists the characteristics of this method.
Available in Run-Time Engine and Real-Time Operating System | Yes (Read/Write) |
Settable when the VI is running | Yes |
Loads the front panel into memory | Yes |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | Yes |
Available with global VIs | Yes |
Available with strict type definitions | No |
Available with polymorphic VIs | No |
Example
Refer to the Size To Text for string control VI in the labview\examples\general\strings.llb for an example of using the Size to Text method.