Ways to Create Icons
- Updated2026-05-29
- 2 minute(s) read
LabVIEW includes two main ways to create icons interactively for LabVIEW items: the Icon Editor and drag-and-drop. The Icon Editor is the primary way to create icons in LabVIEW.
Creating Icons with the Icon Editor
The Icon Editor is the primary way to create or edit icons for items in LabVIEW.
The Icon Editor provides the following:
- Icon templates
- Glyphs from the Icon Library at ni.com
- Options for adding and formatting icon text
- Support for editing with layers
Depending on the type of item for which you want to create an icon, access the Icon Editor in the following ways:
| Item | How to Access Icon Editor |
|---|---|
| VI, custom control |
|
| Project library, statechart, class, or XControl | Click the Edit button on the General Settings page of the corresponding Properties dialog box. |
Creating Icons by Dragging and Dropping Graphics
You can drag a graphic from anywhere in the file system and drop it in the upper right corner of the front panel window to use the graphic as a VI icon.
You can drag and drop files of the following formats:
- .png
- .bmp
- .jpg
When you drag and drop a graphic, LabVIEW converts the graphic to a 32×32 pixel icon. Graphics that are much larger than 32×32 pixels, particularly those that have fine gradations of color, might not convert well.
Creating Icons Programmatically
You can use the VI Icon methods in the VI class to create icons.
Use the VI Icon:Set From File method to set the VI icon from an image programmatically.