activePDF Toolkit 2011 API Reference
PDFAspectRatio
Technical Reference > Barcode Object > Barcode Properties > PDFAspectRatio

Glossary Item Box

Description: Sets the aspect ratio for a PDF417 barcode.
Syntax: object.PDFAspectRatio = value
Arguments: Argument Value Type Description & Settings
object N/A Set to an instance of the object.
Value Double A number between 0 and n where n is undefined.

n <1 = wide barcode.

n = 1 = barcode is square.

n > 1 = barcode is tall and thin.
Remarks: The PDFAspectRatio determines the overall shape of the PDF417 symbol and defines the overall height to width ratio. Higher values for the Aspect Ratio (greater than 1) produce tall, thin PDF417 barcodes and small values (greater than zero and less than 1) produce short, wide barcodes. A value of 1 produces approximately square barcodes. You can refer to Symbologies for a description of the PDF417 symbology.