Property: ZOrder for ObjectPosition

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help
DIAdem 2020 SP1 Help

Specifies the order of an object in DIAdem REPORT.

Set oZOrder = Object.ZOrder
ObjectObjectPosition
Object with this property
oZOrderZOrder
Returned object

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

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()

WAS THIS ARTICLE HELPFUL?

Not Helpful