Object: ArrowElementPosition

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

The ArrowElementPosition object provides the position properties of a comment arrow and a formula graphic in DIAdem REPORT.

The following example generates a comment and specifies the position and the appearance of the arrow:

Dim oMyComment, oMyPosComment, oMyArrow, oMyPosArrow
Call Report.NewLayout()
Set oMyComment = Report.ActiveSheet.Objects.Add(eReportObjectComment,"MyArrow")
Set oMyPosComment = oMyComment.Position.ByCoordinate
oMyPosComment.X1 = 10
oMyPosComment.X2 = 30
oMyPosComment.Y1 = 10
oMyPosComment.Y2 = 30
Set oMyArrow = oMyComment.Arrow
oMyArrow.ArrowHeadAtBegin = eArrowHeadNone
oMyArrow.ArrowHeadAtEnd = eArrowHeadStandardArrow
Set oMyPosArrow = oMyArrow.Position
oMyPosArrow.XStart = 100
oMyPosArrow.XEnd = 40
oMyPosArrow.YStart = 100
oMyPosArrow.YEnd = 40
Call Report.Refresh()

Returned From

ArrowElement.Position

WAS THIS ARTICLE HELPFUL?

Not Helpful