DIAdem Help

Collection: Columns

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

Collection: Columns

The Columns object provides a collection of the Columns in a channel table in DIAdem VIEW. Use the Columns collection to delete columns or to add new columns.

Note  The contents of the properties of the Columns collection are only valid if the DynamicMode property of the ChannelTable object contains the value NONE.

The following example creates a channel table with a column:

VBScriptPython

 

Dim oMySheet, oMyChart
Call View.Sheets.RemoveAll()
Call View.NewLayout()
Set oMySheet = View.ActiveSheet
oMySheet.Name = "MySheet"
oMySheet.ActiveArea.DisplayObjType = "ChannelTable" 
Set oMyChart = oMySheet.ActiveArea.DisplayObj
Call oMyChart.Columns.Add("[1]/[1]")

Properties

Count

Methods

Add | Item | Remove | RemoveAll

Returned From

ChannelTable.Columns