Object: Font
- Updated2024-09-12
- 1 minute(s) read
(3DAdditionalHyperbolaLines | 3DTableHeader | 3DTableXValues | 3DTableYValues | 3DTableZValues | AdditionalCommentText | ColorLegendHeader | ColorLegendSettings | CommentElement | CurveLegendHeader | CurveLegendSettings) > Object: Font
Object: Font
The Font object provides font properties in DIAdem REPORT.
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()
Returned From
3DAdditionalHyperbolaLines.Font | 3DTableHeader.Font | 3DTableXValues.Font | 3DTableYValues.Font | 3DTableZValues.Font | AdditionalCommentText.Font | ColorLegendHeader.Font | ColorLegendSettings.Font | CommentElement.Font | CurveLegendHeader.Font | CurveLegendSettings.Font