AspectRatio

Type: REAL  (float)

Default:        0.0

Allowed values:        0.0 – 64.0

Despite its name this property is now used primarily to specify the number of columns in a symbol by setting this property to a negative value. When negative the value is converted to a positive integer and used to determine with number of columns or codewords as described below. The original aspect ratio function has been maintained only for compatibility with earlier versions.

 

For Codablock F symbols the desired height to width ratio for the symbol. dBarcode will do its best to comply - but will determine the final result within the limits set by the symbology. If the value is negative, then the absolute value of the nearest integer is used to specify the number of data characters per row of the symbol (4 – 62). (This is useful if it is desired to generate several symbols of the same width.

For Datamatrix symbols a negative value of this parameter is used to specify the number of columns in Datamatrix symbols

For PDF417 symbols the desired height to width ratio (positive values) or of the number of codewords per row (negative values in a PDF 417 barcode. dBarcode will do its best to comply - but will determine the final result within the limits imposed by the symbology.

For RSS Expanded stacked symbols a negative value is used to determine the width of the symbol in segment pairs. Fractional values are rounded to the nearest integer.

Ignored for other barcode types.

         

More:

AztecFlag