IIXC_Page::Deskew Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::Deskew Method}}
 
{{#customTitle:IIXC_Page::Deskew Method}}
{{#parentPage:PXV:IIXC_Page|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|Deskew|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
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 ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Deskew([in] ULONG bkColor, [in] IXC_FreeRotate nType, [in] ULONG nFlags);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Deskew([in] ULONG           nBkColor,
 +
              [in] IXC_FreeRotate nType,
 +
              [in] ULONG           nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''bkColor''
+
;nBkColor
:[in] Value of ULONG.
+
:[in] Specifies the background color to be used for page rotation. For more information see method [[PXV:IIXC_Page_FreeRotate|IIXC_Page::FreeRotate]].
;''nType''
+
;nType
:[in]  Value of [[PXV:IXC_FreeRotate|IXC_FreeRotate]].
+
:[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''
+
;nFlags
:[in]  Value of ULONG.
+
:[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]].
  
 
== Return Value ==
 
== Return Value ==
Line 22: Line 23:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IIXC_Page|IIXC_Page]].
+
[[PXV:IIXC_Page|IIXC_Page]]

Latest revision as of 02:16, 15 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           nBkColor,
               [in]  IXC_FreeRotate  nType,
               [in]  ULONG           nFlags);

Parameters

nBkColor
[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