Property: Channel


Specifies the channel for Channel code barcode symbol.



{ Defined in the pChannel unit }

TChannel = Byte;

property Channel: TChannel;


The channel is determined to be one more than the number of digits given in the barcode text in the Channel code barcode symbolpgy. There are 6 channels from 3 to 8, the barcode can hold numbers from any of the following ranges:

The property specifies the channel for Channel code barcode symbol. It can be set to a channel number from 3 to 8, or the 0. If you set it to 0, the channel will be selected automatically base on the barcode text. You can use the CurrentChannel property to get the factual channel number.

Note, If the barcode text is out of the number range determined by the channel, an OnInvalidLength or OnInvalidDataLength (only for Delphi/C++ Builder 2009 or later) event will occur.