Object: Text
- Updated2024-09-12
- 1 minute(s) read
(ReportObjects | SelectedObjects) > Object: Text
Object: Text
The Text object provides a text in DIAdem REPORT.
The following example generates a text in the current worksheet and then outputs the object type:
| VBScript | Python |
Dim oMyText Call Report.NewLayout() Set oMyText = Report.ActiveSheet.Objects.Add(eReportObjectText,"MyText") oMyText.Text = "@@CurrDate@@" oMyText.Font.Color.SetPredefinedColor(ePredefinedColorBlue) Call Report.Refresh()
Properties
Font | Index | IsSelected | Name | ObjectType | PositionXY | TagStored | TagTemporary | Text
Methods
Returned From
ReportObjects.Add | ReportObjects.Copy | ReportObjects.Item | SelectedObjects.Item | TextDropContext.Text | ToolTipTextContext.Text