VintaSoft Barcode .NET SDK v10.0
Vintasoft.Barcode.Web.Services Namespace / BarcodeReadRequestParams Class / imageScaleFactor Property

In This Topic
    imageScaleFactor Property (BarcodeReadRequestParams)
    In This Topic
    Gets or sets a scale factor that is used for upscaling or downscaling an image before barcode recognition.
    Public Property imageScaleFactor As Single
    Dim instance As BarcodeReadRequestParams
    Dim value As Single
    instance.imageScaleFactor = value
    value = instance.imageScaleFactor
    public float imageScaleFactor {get; set;}
    public: __property float get_imageScaleFactor();
    public: __property void set_imageScaleFactor( 
       float value
    property float imageScaleFactor {
       float get();
       void set (    float value);

    Property Value

    Minimum value is 0.1, maximum value is 4.0. Default value is 1.
    Recomendations: To increase recognition quality - upscale image if image contains very small barcodes (single bar or matrix cell is less than 1.5 pixel). To increase recognition speed - downscale image if image contains large barcodes (single bar or cell is greater than 6 pixels). Optimal single bar or matrix cell size is 3..6 pixels.

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also