Property: Width for LegendItem
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Properties > Property: Width for LegendItem
Property: Width for LegendItem
Specifies the column width of a legend entry in a 2D axis system in DIAdem VIEW.
Object.Width
| Object | LegendItem Object with this property |
| Object.Width | LongInteger with read and write access |
The following example outputs a message with the column widths of all the legend entries in a 2D axis system. The DisplayObj must be a CurveChart2D type.
| VBScript | Python |
Dim oMyLegends, oMyLegendItem Set oMyLegends = View.ActiveSheet.ActiveArea.DisplayObj.LegendItems For Each oMyLegendItem in oMyLegends Call MsgBoxDisp("Width of LegendItem: " & oMyLegendItem.Width) Next
See Also
Procedures
Configuring a Map Display | Configuring a Text Box Display | Deleting Curve Sections and Interpolating over Specified Points | Displaying 2D Axis Systems with Several Y-Axes | Displaying Images in DIAdem VIEW | Displaying Properties in the Legend of a Curve | Displaying the Curve Coordinates | Displaying Videos and Data Synchronously | Finding Values in Channel Tables | Interpolating Curve Points | Setting the Leading Curve | Transferring VIEW Layouts to DIAdem REPORT | Viewing Data as Curves | Zooming and Scrolling Curve Areas