DIAdem Help

Object: ReportObject

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

Object: ReportObject

The ReportObject object provides an object for graphical display in DIAdem REPORT.

The ReportObject object corresponds to one of the following objects:

2DAxisSystem (IRepD2AxisInt) 2D axis system
2DTable(IRepTable2DInt) 2D Table
3DAxisSystem (IRepD3AxisInt) 3D axis system
3DTable (IRepTable3DInt) 3D table
Arrow (IRepArrowInt) Line and arrow
Circle (IRepCircleInt) Circle
Comment (IRepCommentInt) Comment
FormulaDisplay (IRepFormulaDisplayInt) Formula graphic
Frame (IRepFreeFrameInt) Free frame
Image (IRepImageInt) Any graphic
PieChart (IRepPieChartInt) Pie chart
PolarSystem (IRepPolarInt) 2D polar axis system
RTFText (IRepTextObjectInt) Text object
Spider (IRepSpiderInt) Spider axis system
Text (IRepTextSimpleInt) Free text

The following example displays the types and the names of all objects:

VBScriptPython

 

Dim oMyReportObjects, oMyReportObj, sOutput
sOutput = ""
Set oMyReportObjects = Report.ActiveSheet.Objects
For Each oMyReportObj in oMyReportObjects
    sOutput = sOutput & "Object type: " & oMyReportObj.ObjectType & vbTab & _
              "Object name: " & oMyReportObj.Name & vbCrLf
Next
Call MsgBoxDisp(sOutput)