SmartZone v7.0 for .NET - Updated
DefaultHorizontalResolution Property




Accusoft.SmartZoneOCR.Net Assembly > Accusoft.SmartZoneOCRSdk Namespace > Reader Class : DefaultHorizontalResolution Property
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(Bitmap), 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

Reference

Reader Class
Reader Members

Is this page helpful?
Yes No
Thanks for your feedback.