8.31. PDFAspectRatio Property

Description

Returns or sets a value for the overall height to width ratio of PDF417 barcode generated by Barcode DLL.

Syntax

HRESULT get_PDFAspectRatio(DOUBLE* pVal);
HRESULT put_PDFAspectRatio(DOUBLE val);

Remarks

The PDFAspectRatio determines the overall shape of the PDF417 symbol and is defined as the overall height to width ratio. Higher values for the Aspect Ratio (greater than 1) produce tall, thin PDF417 bar codes and small values (greater than zero and less than 1) produce short, wide bar codes. A value of 1 produces approximately square bar codes.

The default value for this property is 0.5.