Object: CommentElement
- Updated2024-09-12
- 1 minute(s) read
(ReportObjects | SelectedObjects) > Comment > Object: CommentElement
Object: CommentElement
The CommentElement object provides the text and frame properties of a comment in DIAdem REPORT.
The following example generates a comment in the current worksheet:
| VBScript | Python |
Dim oMyComment Call Report.NewLayout() Set oMyComment = Report.ActiveSheet.Objects.Add(eReportObjectComment,"MyComment") oMyComment.Comment.Text = "This is a comment" Call Report.Refresh()
Properties
BackgroundColor | BorderLine | Font | Text | TextAlignmentHorizontal | TextAlignmentVertical | TextMargin | TextRotation