DIAdem Help

Property: Count for Segments

  • Updated2024-09-12
  • 1 minute(s) read

Property: Count for Segments

Returns the number of elements in a Segments collection in DIAdem VIEW.

Object.Count
ObjectSegments
Object with this property
Object.CountLongInteger with read access
Returns the number of segments in a 2D axis system.

The following example outputs a message which displays the number of segments in a 2D axis system. The DisplayObj must be a CurveChart2D type.

VBScriptPython

 

Call MsgBoxDisp("Number of Segments: " & View.ActiveSheet.ActiveArea.DisplayObj.Segments.Count)