lFlags
Flags that indicate whether or not to deskew the image and what background color to use. You can use a bitwise OR (|) to specify one flag from each group.
The following flags indicate whether to deskew the image after the method finds the skew angle:
Value |
Meaning |
DSKW_PROCESS |
[0x00000000] Deskew (rotate) the image. |
DSKW_NOPROCESS |
[0x00000001] Don’t deskew (rotate) the image. Generally this flag is used to find the angle of rotation. |
The following flags indicate what background color to use:
DSKW_FILL |
[0x00000000] Use the color in crFill to fill areas exposed after rotation. |
DSKW_NOFILL |
[0x00000010] Let the method automatically find the suitable background color used to fill areas exposed after rotation. crFill is ignored in this case. |
The following flags indicate image type:
DSKW_DOCUMENTIMAGE |
[0x00000000] The image contains text only. |
DSKW_DOCUMENTANDPICTURE |
[0x00010000] The image contains text and pictures or light text. |