IIXC_Page::Deskew Method
From PDF XChange PDF SDK
Line 3: | Line 3: | ||
{{#parentPage:PXV:IIXC_Page|Deskew Method|method}} | {{#parentPage:PXV:IIXC_Page|Deskew Method|method}} | ||
− | |||
The method examines the page to determine if it is necessary to rotate the page to orient the image parallel to the axis. This function is useful for adjusting the orientation of scanned images. | The method examines the page to determine if it is necessary to rotate the page to orient the image parallel to the axis. This function is useful for adjusting the orientation of scanned images. |
Revision as of 12:16, 17 May 2015
The method examines the page to determine if it is necessary to rotate the page to orient the image parallel to the axis. This function is useful for adjusting the orientation of scanned images.
Contents
Syntax
HRESULT Deskew([in] ULONG bkColor, [in] IXC_FreeRotate nType, [in] ULONG nFlags);
Parameters
- bkColor
- [in] Specifies the background color to be used for page rotation. For more information see method IIXC_Page::FreeRotate.
- nType
- [in] Specifies the method of rotation to be used. See method IIXC_Page::FreeRotate for more information about possible values.
- nFlags
- [in] Combination of flags which specifies how the data will be copied. For more details about this parameter, see enum IXC_ColorFlags.
Return Value
Returns S_OK if operation was successful or error code in other cases.