Object: FrameLine
- Updated2024-09-12
- 1 minute(s) read
(Circle | CommentElement | Frame) > Object: FrameLine
Object: FrameLine
The FrameLine 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:
| VBScript | Python |
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 | FrameStyle | LineBottom | LineLeft | LineRight | LineTop | LineType | UseIndividualLineStyle | Width
Returned From
Circle.BorderLine | CommentElement.BorderLine | Frame.BorderLine