PDFView4NET WinForms Edition
WideToNarrowRatio Property (PDFCode25Barcode)




O2S.Components.PDFView4NET.Graphics.Barcodes Namespace > PDFCode25Barcode Class : WideToNarrowRatio Property
Gets or sets the ratio between wide bars and narrow bars.
Syntax
'Declaration
 
Public Property WideToNarrowRatio As Double
'Usage
 
Dim instance As PDFCode25Barcode
Dim value As Double
 
instance.WideToNarrowRatio = value
 
value = instance.WideToNarrowRatio
public double WideToNarrowRatio {get; set;}
public: __property double get_WideToNarrowRatio();
public: __property void set_WideToNarrowRatio( 
   double value
);
public:
property double WideToNarrowRatio {
   double get();
   void set (    double value);
}

Property Value

A double value specifying the ratio between wide bars and narrow bars.
Remarks
The recommended ratio varies between 2.2:1 and 3:1. Depending on the barcode printer resolution and quality of barcode scanner, this ratio can be increased or decreased to make sure the barcode is scanned correctly. A lower ratio results in a higher barcode density and less occupied space, but it requires high resolution printers (laser printer quality) and precise scanners in order to read the barcodes.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFCode25Barcode Class
PDFCode25Barcode Members