This function is the enhanced version of IG_IC_orient_auto() function.
Copy Code
|
|
---|---|
AT_ERRCOUNT IG_IC_orient_auto_ex ( HIGEAR hIGear, INT nDocumentType ); |
Name | Type | Description |
---|---|---|
hIGear | HIGEAR | HIGEAR handle of image. |
nDocumentType | INT |
Type of the input document type's alignment. Currently there are three document type's alignment constants:
|
Returns the number of ImageGear errors that occurred during this function call.
Indexed RGB – 1 bpp.
ImageClean
This function automatically determines what the proper orientation of a 1-bit image should be and rotates this image to achieve that proper orientation.
If the input document is left (or right) aligned and contains only the text formed in one column then set nDocumentType parameter to IG_IC_LEFT_ALIGNED_DOC (or IG_IC_RIGHT_ALIGNED_DOC accordingly). Otherwise (or if you don't know anything about the loaded document) set nDocumentType to IG_IC_STANDARD_DOC.
Refer to the Component Manager API section.