Object: 2DTableColumn
- Updated2024-09-12
- 1 minute(s) read
(2DTable | Collections) > 2DTableColumns > Object: 2DTableColumn
Object: 2DTableColumn
The 2DTableColumn object provides a column for a 2D table in DIAdem REPORT.
The 2DTableColumn object corresponds to one of the following objects:
| 2DTableColumnChannel (IRepTable2DColumnChannelInt) | Channel |
| 2DTableColumnExpression (IRepTable2DColumnExpressionInt) | DIAdem expression |
| 2DTableColumnText (IRepTable2DColumnTextInt) | Text list |
| 2DTableColumnVariable (IRepTable2DColumnVariableInt) | Variables |
The following example displays the types of all columns in all 2D tables:
| VBScript | Python |
Dim oMyReportObj, oMyReportObjects, oMySubObjects, oMySubObj, sOutput sOutput = "" Set oMyReportObjects = Report.ActiveSheet.Objects For Each oMyReportObj in oMyReportObjects If oMyReportObj.ObjectType = eReportObject2DTable Then Set oMySubObjects = oMyReportObj.Columns For Each oMySubObj in oMySubObjects sOutput = sOutput & "Column type: " & oMySubObj.Type & vbCrLf Next End If Next Call MsgBoxDisp(sOutput)
Properties
Index | Settings | TagStored | TagTemporary | Type
Returned From
2DTableColumns.Add | 2DTableColumns.ChangeType | 2DTableColumns.Copy | 2DTableColumns.Item | Table2DColumnTransformingContext.Column