ClearImage .NET API
ModuleSize Property (Barcode)





Inlite.ClearImageNet Namespace > Barcode Class : ModuleSize Property
Average width (in pixels) of the barcode modules
Syntax
'Declaration
 
Public ReadOnly Property ModuleSize As System.Double
'Usage
 
Dim instance As Barcode
Dim value As System.Double
 
value = instance.ModuleSize
public System.double ModuleSize {get;}
public read-only property ModuleSize: System.Double; 
public function get ModuleSize : System.double
public:
property System.double ModuleSize {
   System.double get();
}
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

Barcode Class
Barcode Members