DIAdem Help

Method: Remove for LegendItems

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

Method: Remove for LegendItems

Deletes one element from the LegendItems collection.

Object.Remove(NameOrIndex)
ObjectLegendItems
Object with this method
NameOrIndexVariant
Specifies the name of the property that is to be deleted in the legend.

The following example deletes a legend entry:

VBScriptPython

 

Call View.ActiveSheet.ActiveArea.DisplayObj.LegendItems.Remove("Name")