Property: StretchOrder


Specifies the priority order of selecing appropriate symbol size for a Compact Matrix barcode symbol.



{ Defined in the pCompactMatrix unit }

TCompactMatrix_StretchOrder = (soVersionSegment, soSegmentVersion, soFixAspect, soFixAspectWithQuietZones);

property StretchOrder: TCompactMatrix_StretchOrder;


There are 32 vertical sizes of Compact Matrix symbol, referred to as version 1 to 32, in increasing order of symbol height and data capacity. In horizontal orientation, each Compact Matrix symbol consists of an array of segments with a minimum of 1 segment (maximum 32 segments).

The minimum version (specified by the MinVersion property) and the minimum number of segments (specified by the MinSegments property) indicates the minimum symbol size for a Compact Matrix barcode symbol. The maximum version (specified by the MaxVersion property) and the maximum number of segments (specified by the MaxSegments property) indicates the maximum symbol size for the Compact Matrix barcode symbol. The property specifies a priority order in order to automatically select the symbol size. According to the priority order, the first symbol size (version and number of segments) that accommodates the barcode text will be automatically selected between the minimum symbol size and the maximum symbol size.

The property can be one of these values (defined in the pCompactMatrix unit):

See also the "Symbol sizes" section in the "TBarcode2D_CompactMatrix" article.