WIA_IPS_DESKEW_X
The WIA_IPS_DESKEW_X property, together with the WIA_IPS_DESKEW_Y property, describes the upper two corners of a skewed image. The WIA minidriver creates and maintains this property.
Property Type: VT_I4
Valid Values: WIA_PROP_RANGE
Access Rights: Read/write
Remarks
The WIA_IPS_DESKEW_X and WIA_IPS_DESKEW_Y properties describe where the two upper corners of a skewed image are located within the bounding rectangle that WIA_IPS_XPOS, WIA_IPS_YPOS, WIA_IPS_XEXTENT, and WIA_IPS_YEXTENT properties define.
The valid values for WIA_IPS_DESKEW_X must be between 0 and (WIA_IPS_XEXTENT - 1). A value of 0 means that no skew correction should be performed.
WIA_IPS_DESKEW_X contains the number of pixels in the x-direction from WIA_IPS_XPOS to the x-coordinate of the uppermost corner of the image to be corrected.
Requirements
Header: wiadef.h (include Wiadef.h)