IIXC_Page::Deskew Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#parentPage:PXV:IIXC_Page|Deskew Method|method}}
 
{{#parentPage:PXV:IIXC_Page|Deskew Method|method}}
  
{{ToReview}}
 
  
 
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 13: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.

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.

See Also

IIXC_Page
IIXC_Page::Place
IIXC_Page::AlphaPlace
IIXC_Page::Tile
IIXC_Page::AlphaTile
IIXC_Page::FreeRotate
IXC_FreeRotate
IXC_ColorFlags