![]() | DIAdem 2012 Help |
![]() | DIAdem 2014 Help |
![]() | DIAdem 2015 Help |
![]() | DIAdem 2017 Help |
![]() | DIAdem 2018 Help |
![]() | DIAdem 2019 Help |
Specifies, in DIAdem REPORT, the distance from the upper edge of an object to the upper edge of the worksheet as a percentage of the page area, in cm or in inch, if you use margins to position the object. Because you can use either the Bottom, Height, Left, Right, Top, and Width for the ObjectPositionDefinedByBorders property, or the Height, Width, X1, X2, Y1, and Y2 for the ObjectPositionDefinedByCoordinates property to specify the position, these properties impact each other and the value of the property set first can be modified by another property.
Object.Top
Object | ObjectPositionDefinedByBorders Object with this property |
Object.Top | Double with read and write access |
The following example generates a formula graphic and specifies the position of this formula graphic:
Dim oMyFormula, oMyPosFormula, oMyFrame, oMyPosFrame Call Report.NewLayout() Set oMyFormula = Report.ActiveSheet.Objects.Add(eReportObjectFormulaDisplay ,"MyFormular") Set oMyPosFormula = oMyFormula.Position.ByBorder oMyFormula.Text = "a^2+b^2=c^2" oMyPosFormula.Left = 10 oMyPosFormula.Right = 70 oMyPosFormula.Bottom = 10 oMyPosFormula.Top = 75 Call Report.Refresh()
Helpful
Not Helpful