lFlags

Flags for Deskew. You can combine values when appropriate, by using a bitwise OR ( | ). Possible values are:

Value

Meaning

DSKW_FILL

[0x00000000] Use the color in crBack 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. crBack is ignored in this case.

The following flags indicate the image type:

Value

Meaning

DSKW_DOCUMENTIMAGE

[0x00000000] The image contains text only.

DSKW_DOCUMENTANDPICTURE

[0x00010000] The image contains text and pictures or light text.