(TBarcode2D_CompactMatrix)
Specifies the minimum number of segments for a Compact Matrix barcode symbol.
type
{ Defined in the pCompactMatrix unit }
TCompactMatrix_Segments = 1..32;
property MinSegments: TCompactMatrix_Segments;
In horizontal orientation, each Compact Matrix symbol consists of an array of segments with a minimum of 1 segment (maximum 32 segments). The property specifies the minimum number of segments for a Compact Matrix barcode symbol. It can be one of values from 1 to 32, they are defined in the pCompactMatrix unit.
The minimum number of segments together with the minimum version (specified by the MinVersion property) indicates the minimum symbol size for a Compact Matrix barcode symbol. And the maximum number of segments (specified by the MaxSegments property) together with the maximum version (specified by the MaxVersion property) indicates the maximum symbol size for the Compact Matrix barcode symbol. Based on the stretch order (specified by the StretchOrder property), the smallest symbol size that accommodates the barcode text will be automatically selected between the minimum symbol size and the maximum symbol size.
The CurrentSegments property can be used to get the factual number of segments.
Note, if the property is set to a value greater than the MaxSegments property's value, the MaxSegments property will be automatically changed to equal to this property's value. In other words, the MinSegments property's value is always less than or equal to the MaxSegments property's value.
See also the "Symbol sizes" section in the " TBarcode2D_CompactMatrix" article.