DIAdem Help

Method: IsKindOf for CellChannelFormatter

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

Method: IsKindOf for CellChannelFormatter

Checks whether the CellChannelFormatter object is a certain type.

The CellChannelFormatter object contains information about how the values of a channel are represented in a workbook. The channel always belongs to a CellBlock.

bIsKindOf = Object.IsKindOf(Type)
ObjectCellChannelFormatter
Object with this method
TypeSpecifies the block type to be checked.
Enumeration with the following selection terms:
0eBinaryBlockBinaryBlock type block
1eStringBlockStringBlock type block
2eFixedWidthBlockFixedWidthBlock type block
3eCellBlockCellBlock type block
bIsKindOfBoolean
The value is TRUE if the block is the specified type.

The following example checks each channel whether this channel has a CellBlock and creates the channel property DataType:

Dim oMyChn
For Each oMyChn in oBlock.Channels
  If oMyChn.Formatter.IsKindOf(eCellBlock) Then
    Call oMyChn.Properties.Add("DataType", oMyChn.Formatter.DataType)
  End If
Next

Log in to get a better experience