DIAdem-Hilfe

Object: Text

  • Aktualisiert2024-09-12
  • 1 Minute(n) Lesezeit

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