IIXC_Page::Deskew Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Deskew([in]  ULONG          nBkColor,
+
<pre class="brush:cpp;gutter:false">HRESULT Deskew([in]  ULONG          bkColor,
               [in]  IXC_FreeRotate  nType,
+
               [in]  IXC_FreeRotate  Type,
               [in]  ULONG          nFlags);</pre>
+
               [in]  ULONG          Flags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nBkColor
+
;bkColor
 
:[in] Specifies the background color to be used for page rotation. For more information see method [[PXV:IIXC_Page_FreeRotate|IIXC_Page::FreeRotate]].
 
:[in] Specifies the background color to be used for page rotation. For more information see method [[PXV:IIXC_Page_FreeRotate|IIXC_Page::FreeRotate]].
;nType
+
;Type
 
:[in]  Specifies the method of [[PXV:IXC_FreeRotate|rotation]] to be used. See method [[PXV:IIXC_Page_FreeRotate|IIXC_Page::FreeRotate]] for more information about possible values.
 
:[in]  Specifies the method of [[PXV:IXC_FreeRotate|rotation]] to be used. See method [[PXV:IIXC_Page_FreeRotate|IIXC_Page::FreeRotate]] for more information about possible values.
;nFlags
+
;Flags
 
:[in]  Combination of [[PXV:IXC_ColorFlags|flags]] which specifies how the data will be copied. For more details about this parameter, see enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]].
 
:[in]  Combination of [[PXV:IXC_ColorFlags|flags]] which specifies how the data will be copied. For more details about this parameter, see enum [[PXV:IXC_ColorFlags|IXC_ColorFlags]].
  

Revision as of 06:50, 12 June 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  Type,
               [in]  ULONG           Flags);

Parameters

bkColor
[in] Specifies the background color to be used for page rotation. For more information see method IIXC_Page::FreeRotate.
Type
[in] Specifies the method of rotation to be used. See method IIXC_Page::FreeRotate for more information about possible values.
Flags
[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