Property: BlockLength for StringBlock
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > 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
Object | StringBlock Object with this property |
Object.BlockLength | LongInteger 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