Object: Report

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 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:

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()

WAS THIS ARTICLE HELPFUL?

Not Helpful