DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: BlockLength for StringBlock

Property: BlockLength for StringBlock

Specifies the number of values that a channel in the StringBlock contains.

If the number is -1, the block extends to the end of the file.

Object.BlockLength
ObjectStringBlock
Object with this property
Object.BlockLengthLongInteger with read and write access

The following example checks the block type and sets the block length according to this block type:

If oBlock.IsKindOf(eBinaryBlock) Then
  oBlock.BlockLength = -1
ElseIf oBlock.IsKindOf(eStringBlock) Then
  oBlock.BlockLength = 20
End If
In This Section
Was this information helpful?