ClearImage .NET API
ModuleSize Property (CiBarcode)





Inlite.ClearImage Namespace > CiBarcode Class : ModuleSize Property
Average width of barcode module in pixels
Syntax
'Declaration
 
Public Property ModuleSize As System.Double
'Usage
 
Dim instance As CiBarcode
Dim value As System.Double
 
instance.ModuleSize = value
 
value = instance.ModuleSize
public System.double ModuleSize {get; set;}
public read-write property ModuleSize: System.Double; 
public function get,set ModuleSize : System.double
public:
property System.double ModuleSize {
   System.double get();
   void set (    System.double value);
}
Remarks

For most barcodes this value represent the width of the narrowest bar or space, measured in pixels in the image. For DataMatrix and QR it is the size of the little square modules that make up the symbol.   The smallest dimension vertical or horizontal is reported.  Best performance is obtained when the module size is between 3-10.   Smaller values require extra effort for recognition.  Modules sizes smaller than 2 are often not readable.   Module sizes above 10 represent excess resolution (for the purposes of recognition) and simply slow down the process. 

Scanners refer to this pixel value as dots.   To obtain the physical dimensions of the feature divide this value by the resolution (in dots per inch).

See Also

Reference

CiBarcode Class
CiBarcode Members