DIAdem Help

Method: Remove for Segments

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

Method: Remove for Segments

Deletes one element from the Segments collection.

bRemove = Object.Remove(NameOrIndex)
ObjectSegments
Object with this method
NameOrIndexVariant
Specifies the name or the index of the segment that is to be deleted.
bRemoveBoolean

The following example deletes the first segment entry in the 2D axis system in the current area. The DisplayObjType must be a CurveChart2D type.

VBScriptPython

 

Call View.ActiveSheet.ActiveArea.DisplayObj.Segments.Remove(1)