Property: Position for 2DAxisSystem

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 position of a 2D axis system in a DIAdem REPORT worksheet.

Set oObjectPosition = Object.Position
Object2DAxisSystem
Object with this property
oObjectPositionObjectPosition
Returned object

The following example generates a 2D axis system and specifies the position of this 2D axis system:

Dim oMy2DAxisSystem, oMy2DCurve
Call Report.NewLayout()
Set oMy2DAxisSystem = Report.ActiveSheet.Objects.Add(eReportObject2DAxisSystem,"My2DAxisSystem")
Set oMy2DCurve = oMy2DAxisSystem.Curves2D.Add(e2DShapeLine,"My2DCurve")
oMy2DCurve.Shape.XChannel.Reference = "[1]/[1]"
oMy2DCurve.Shape.YChannel.Reference = "[1]/[2]"

oMy2DAxisSystem.Position.ByCoordinate.X1 = 10
oMy2DAxisSystem.Position.ByCoordinate.X2 = 40
oMy2DAxisSystem.Position.ByCoordinate.Y1 = 50
oMy2DAxisSystem.Position.ByCoordinate.Y2 = 80
Call Report.Refresh()

WAS THIS ARTICLE HELPFUL?

Not Helpful