Custom Item Symbols:Set To Custom Symbol Array Method
Short Name: Custom Item Symbols.Set Symbol Array
Installed With: Full Development System
Class: TreeControl Methods
Sets the images of all item symbols.
If you want to use a picture to set the symbols, use the Picture to Pixmap VI to convert the data to an image data cluster before using this method. The image clusters you wire to this method are similar to the image data input of the Write JPEG File, Write PNG File, and Write BMP File VIs.
Parameters
Name | Required | Description |
---|---|---|
Symbols | No | An array of clusters that describe the images you want to use for the item symbols. Images that are less than or equal to 16 × 16 pixels appear as their actual size. If you use an image that is larger than 16 × 16 pixels, LabVIEW shrinks the image to 16 × 16 pixels before displaying it as a tree control item symbol. |
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 | No |
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 | No |
Available with global VIs | No |
Available with strict type definitions | No |
Available with polymorphic VIs | No |
Example
Refer to the Traverse Tree and Set Custom Symbols VI in the labview\examples\general\controls\treecontrol\Traverse Tree and Set Custom Symbols.llb for an example of using the Custom Item Symbols:Set To Custom Symbol Array method.