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

Glossary Item Box

Description: Sets the ratio of the width of the wide module versus the narrow module.

NOTE: This property is valid only for Code 39, Code 25, Code 11, Codabar and Interleaved 2 of 5 symbologies. All others ignore this property.

Syntax: object.NarrowToWideRatio = value
Arguments: Argument Value Type Description & Settings
object N/A Set to an instance of the object.
Value Double A value ranging from 2.0 to 3.0.
Remarks: Some linear symbologies can have two module widths. The width of the wide module width is a fixed multiple of the width determined by NarrowBarWidth.

NOTE: We do not recommend using a value below 2.5, as this may affect the readability of the barcode. We highly recommend you test barcode readability if you set this value below 2.5.

You can refer to Symbologies for a description of each barcode symbology.