DIAdem Help

Object: ZOrder

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

Object: ZOrder

The ZOrder object provides the object order in DIAdem REPORT.

The following example displays the type, the name, and the level of all objects in the current worksheet:

VBScriptPython

 

Dim oMyCircle, oMyFrame
Call Report.NewLayout()
Set oMyCircle = Report.ActiveSheet.Objects.Add(eReportObjectCircle,"MyCircle")
Call oMyCircle.BackgroundColor.SetPredefinedColor(ePredefinedColorBlue)
Set oMyFrame = Report.ActiveSheet.Objects.Add(eReportObjectFrame,"MyFrame")
Call oMyFrame.BackgroundColor.SetPredefinedColor(ePredefinedColorRed)
Call oMyFrame.Position.ZOrder.Move(-1)
Call Report.Refresh()

Properties

Order