EnableOrientationDetection Property (GdPictureOCR)
Specifies, whether the engine will try to detect the page orientation, means the page standard rotation,
automatically during subsequent OCR processes. Enabling this options may noticeably slow down the engine's performance.
public bool EnableOrientationDetection {get; set;}
public read-write property EnableOrientationDetection: Boolean;
public function get,set EnableOrientationDetection : boolean
public: __property bool get_EnableOrientationDetection();
public: __property void set_EnableOrientationDetection(
bool value
);
public:
property bool EnableOrientationDetection {
bool get();
void set ( bool value);
}
'Declaration
Public Property EnableOrientationDetection As Boolean
Property Value
The default value is false, that means the automatic detection of a page orientation is not activated.
How to enable the automatic page orientation detection.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
gdpictureOCR.EnableOrientationDetection = True
'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
{
gdpictureOCR.EnableOrientationDetection = true;
//You can do your another stuff with gdpictureOCR here.
}