Object: BorderLine

DIAdem 2018 Help


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

DOWNLOAD (Windows Only)


DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help

The BorderLine object provides the properties of the frame line of a comment, circle, or rectangle in DIAdem REPORT.

The following example adds a rectangle to the current worksheet and changes the rectangle display:

Dim oMyFrame, oMyBackgroundColor, oMyPosition , oMyBorderLine
Call Report.NewLayout()
Set oMyFrame = Report.ActiveSheet.Objects.Add(eReportObjectFrame,"MyFrame")
Set oMyBackgroundColor = oMyFrame.BackgroundColor
Call oMyBackgroundColor.SetPredefinedColor(eColorIndexRed )
oMyBackgroundColor.Transparency = 50
Set oMyPosition = oMyFrame.Position.ByCoordinate
oMyPosition.X1 = 10
oMyPosition.X2 = 40
oMyPosition.Y1 = 50
oMyPosition.Y2 = 80
Set oMyBorderLine = oMyFrame.BorderLine
Call oMyBorderLine.Color.SetPredefinedColor(eColorIndexGreen)
oMyBorderLine.LineType = eLineTypeDotted
oMyBorderLine.Width = eLineWidth0140
Call Report.Refresh()

Properties

Color | LineType | Width

WAS THIS ARTICLE HELPFUL?

Not Helpful