Object: Font

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 Font object provides font properties in DIAdem REPORT.

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