Property: Position for FormulaDisplay

DIAdem 2018 Help


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

DOWNLOAD (Windows Only)


DIAdem 2012 Help
DIAdem 2014 Help
DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help

Specifies the position of a formula graphic in a DIAdem REPORT worksheet.

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

The following example generates a formula graphic and specifies the position of this formula graphic:

Dim oMyFormula, oMyPosFormula
Call Report.NewLayout()
Set oMyFormula = Report.ActiveSheet.Objects.Add(eReportObjectFormulaDisplay ,"MyFormular")
Set oMyPosFormula = oMyFormula.Position.ByCoordinate
oMyFormula.Text = "a^2+b^2=c^2"
oMyPosFormula.X1 = 10
oMyPosFormula.X2 = 30
oMyPosFormula.Y1 = 10
oMyPosFormula.Y2 = 25
Call Report.Refresh()

WAS THIS ARTICLE HELPFUL?

Not Helpful