Barcode Xpress for .NET Framework v14.0 - Updated
Accusoft.BarcodeXpressSdk Namespace / Reader Class / ScanDistance Property




In This Topic
    ScanDistance Property
    In This Topic
    Gets and sets the scan distance in pixels between line sweeps when searching for 1D barcodes.
    Syntax
    'Declaration
     
    Public Property ScanDistance As Integer
    'Usage
     
    Dim instance As Reader
    Dim value As Integer
     
    instance.ScanDistance = value
     
    value = instance.ScanDistance
    public int ScanDistance {get; set;}
    public: __property int get_ScanDistance();
    public: __property void set_ScanDistance( 
       int value
    );
    public:
    property int ScanDistance {
       int get();
       void set (    int value);
    }
    Remarks

    Reducing this value can help in finding barcodes which are short relative to their height.

    This value effects the run time of the barcode search. Smaller values will require more processing of the image.

    Default value: 5

    Valid values are 1 through 10.

    See Also