GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureOCR Class / EnableSkewDetection Property
Example





In This Topic
EnableSkewDetection Property (GdPictureOCR)
In This Topic
Specifies, whether the engine will try to detect the page skew automatically during subsequent OCR processes.
Syntax
'Declaration
 
Public Property EnableSkewDetection As Boolean
public bool EnableSkewDetection {get; set;}
public read-write property EnableSkewDetection: Boolean; 
public function get,set EnableSkewDetection : boolean
public: __property bool get_EnableSkewDetection();
public: __property void set_EnableSkewDetection( 
   bool value
);
public:
property bool EnableSkewDetection {
   bool get();
   void set (    bool value);
}

Property Value

The default value is false, that means the automatic detection of a page skew is not activated.
Remarks
Please be aware that enabling the automatic page skew detection may noticeably slow down the engine's performance in some cases.
Example
How to enable the automatic page skew detection.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
 
    gdpictureOCR.EnableSkewDetection = True
 
    'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
{
    gdpictureOCR.EnableSkewDetection = true;
 
    //You can do your another stuff with gdpictureOCR here.
}
See Also