Property: AutoMode
(TBarcodeFmx2D_MaxiCode)
Specifies whether to automatically select the mode for a MaxiCode barcode symbol.
Syntax:
property AutoMode: Boolean;
Description:
The property specifies whether to automatically select the mode for a MaxiCode barcode symbol, depending on the barcode text and the Mode property value.
If the property is set to true, the TBarcodeFmx2D_MaxiCode component will automatically select the suitable mode depending on the barcode text and the value of Mode property:
- If the Mode property is set to mode 2 or 3, the factual mode will be selected between mode 2 and 3, depending on the postal code field in the barcode text.
- If the Mode property is set to mode 4, the factual mode will be selected between mode 4 and 5, depending on the length of barcode text. If the length of barcode text is so short that can be encoded by using mode 5, the mode 5 will be used in order to employ enhanced error correction, otherwise the mode 4 will be used in order to accommodate more barcode text.
- If the Mode property is set to mode 5, the mode 5 will be selected always, in order to insure high level of enhanced error correction.
- If the Mode property is set to mode 6, the mode 6 will be selected always, in order to encodes a message used to program the reader system.
In this case, you can use the CurrentMode property to get the factual mode.
If the property is set to false, the mode will be specified by the Mode property. The value of CurrentMode property is always equal to the Mode property value.
See also the "Modes" sections in the "TBarcodeFmx2D_MaxiCode" article.
Contents
Copyright © 2001-2024
Han-soft Corporation. All rights reserved.