Specifies whether to reduce/stretch the barcode symbol to specified size.
property Stretch: Boolean;
The property specifies whether to reduce/stretch the barcode symbol to fit the size specified by BarcodeWidth and BarcodeHeight properties. The barcode symbol together with its quiet zones (if they are represented) will be reduced/stretched if the property is set to true. You can use the LeadingQuietZone, TrailingQuietZone, TopQuietZone, and BottomQuietZone properties to specify the size of these quiet zones in modules. And use the ShowQuietZone property to specify whether to represent these quiet zones.
For the 2D component TBarcode2D_CCA, TBarcode2D_CCB, or TBarcode2D_CCC, if its Linear property is set, the 2D symbol and the linear symbol are assembled to generate an EAN.UCC composite barcode symbol, and they will be reduced/stretched as an entirety.
If the property is set to false, the barcode symbol will not be reduced/stretched. The values of BarcodeWidth and BarcodeHeight properties will be ignored.
The barcode symbol width and height will be calculated based on the Module property value.
You can get the width and height by using the Size method.
If the property is set to true, the barcode symbol will be reduced/stretched to fit the size specified by BarcodeWidth and BarcodeHeight properties.
The BarcodeWidth property specifies the width of barcode symbol. If the property value is less than or equal to zero, it specifies the right margin of the barcode symbol (the Orientation property is set to "boLeftRight" or "boRightLeft"), or the bottom margin of the barcode symbol (the Orientation property is set to "boTopBottom" or "boBottomTop"). See also the "BarcodeWidth" property. See diagram:
The BarcodeHeight property specifies the height of barcode symbol. If the property value is less than or equal to zero, it specifies the bottom margin of the barcode symbol (the Orientation property is set to "boLeftRight" or "boRightLeft"), or the right margin of the barcode symbol (the Orientation property is set to "boTopBottom" or "boBottomTop"). See also the "BarcodeHeight" property. See diagram: