DIAdem Help

Object: Text

  • Updated2024-09-12
  • 1 minute(s) read

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:

VBScriptPython

 

Dim oMyText
Call Report.NewLayout()
Set oMyText = Report.ActiveSheet.Objects.Add(eReportObjectText,"MyText")
oMyText.Text = "@@CurrDate@@"
oMyText.Font.Color.SetPredefinedColor(ePredefinedColorBlue)
Call Report.Refresh()