Block UI Styler > Block Catalog > Basic
Drawing Area
The Drawing Area block provides a control to display an area in the command's dialog box that can be used to show JPG, BMP, TIFF, and PNG images (i.e., a general-purpose graphics/picture display surface).
Inherited general properties
- BlockID
- Enable
- Group
- Label
- Show
- Expanded
Block-specific properties
| Property Name | Description | Access | Property Type | List of Values |
|---|---|---|---|---|
| Height | Specifies the initial height of the drawing area. | CIG | Integer | Any integer value >= 0. |
| Image | Specifies the filename of the initial graphics or picture to be shown. | CSG | File | Path and filename of the image. |
| Width | Specifies the initial width of the drawing area. | CIG | Integer | Any integer value >= 0. |
Access column legend
| Character | Stands for | Meaning |
|---|---|---|
| C | Creation | Modifiable interactively in Block UI Styler at design time. |
| I | Initialize | Modifiable at run time via NXOpen API, but only during the Initialize callback. |
| G | Get | Readable via NXOpen API in any callback. |
| S | Set | Modifiable at run time via NXOpen API in any callback. |
Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.blockstyler/drawing_area · retrieved 2026-07-07