SmartZone v8.0 - Updated
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / Reader Class / DefaultHorizontalResolution Property




In This Topic
    DefaultHorizontalResolution Property
    In This Topic
    Gets and sets the default horizontal resolution, expressed in dots per inch (DPI), for images that do not report resolution.
    Syntax
    'Declaration
     
    
    Public Property DefaultHorizontalResolution As Integer
    'Usage
     
    
    Dim instance As Reader
    Dim value As Integer
     
    instance.DefaultHorizontalResolution = value
     
    value = instance.DefaultHorizontalResolution
    public int DefaultHorizontalResolution {get; set;}
    public: __property int get_DefaultHorizontalResolution();
    public: __property void set_DefaultHorizontalResolution( 
       int value
    );
    public:
    property int DefaultHorizontalResolution {
       int get();
       void set (    int value);
    }
    Exceptions
    ExceptionDescription
     
    Remarks

    Valid range: 70 to 2400

    Default value: 300

    This property is used during AnalyzeField(Object), AnalyzeField(IntPtr), and AnalyzeField(Image), clamped to the valid range, when image horizontal resolution is either unknown or zero. For the best recognition results, ensure that image objects provided to SmartZone have accurate resolution information already set.

    See Also