PDFView4NET WinForms Edition
XDimension Property




O2S.Components.PDFView4NET.Graphics.Barcodes Namespace > PDFBarcode Class : XDimension Property
Gets or sets the width in points of a narrow bar.
Syntax
'Declaration
 
Public Property XDimension As Double
'Usage
 
Dim instance As PDFBarcode
Dim value As Double
 
instance.XDimension = value
 
value = instance.XDimension
public double XDimension {get; set;}
public: __property double get_XDimension();
public: __property void set_XDimension( 
   double value
);
public:
property double XDimension {
   double get();
   void set (    double value);
}

Property Value

A double value specifying the width of a narrow bar.
Exceptions
ExceptionDescription
Thrown when value is less than or equal to zero.
Remarks
The recommended width of a narrow bar is 0.864 points, which is 12 mils (1 mil = 0.001inches). Depending on the barcode printer resolution and quality of barcode scanner, the XDimension can be increased or decreased to make sure the barcode is scanned correctly. A lower XDimension 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

PDFBarcode Class
PDFBarcode Members