Object: Report
- Updated2024-09-12
- 1 minute(s) read
DIAdem REPORT > Objects > Object: Report
Object: Report
The Report object provides access to the objects in DIAdem REPORT. You can also use the Report object to specify the general properties of DIAdem REPORT.
The Report object is available as a global object in scripts and in dialog boxes. Do not create an object or a variable with the name Report because this overwrites the Report object.
The following example generates a comment in the current worksheet:
VBScript | Python |
Dim oMyComment, oMyFont Call Report.NewLayout() Set oMyComment = Report.ActiveSheet.Objects.Add(eReportObjectComment,"MyComment") oMyComment.Comment.Text = "This is a comment" Set oMyFont = oMyComment.Comment.Font Call oMyFont.Color.SetPredefinedColor(eColorIndexBlue) oMyFont.Name = "Tahoma" oMyFont.Size = 7 Call Report.Refresh()
Properties
ActiveSheet | AppendedFileName | AppendedFullPath | Comment | Events | FileName | FullPath | SelectedObjects | Settings | Sheets | TagStored | TagTemporary
Methods
AppendLayout | IsMasterLayout | IsModified | LoadLayout | LoadMasterLayout | NewLayout | NewMasterLayout | Refresh | RefreshSilent | ResetModified | SaveLayout | SaveMasterLayout