IIXC_Page::FreeRotate Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IIXC_Page::FreeRotate Method}}
 
{{#customTitle:IIXC_Page::FreeRotate Method}}
{{#parentPage:PXV:IIXC_Page|FreeRotate Method|method}}
+
{{#parentPage:PXV:IIXC_Page#Methods|FreeRotate|method}}
  
{{ToReview}}
+
The method rotates the image page by a specified angle in degrees.
 
+
The method rotates the image page by a specified angle.
+
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT FreeRotate([in]  double          nAngle,
 
<pre class="brush:cpp;gutter:false">HRESULT FreeRotate([in]  double          nAngle,
                   [in]  ULONG          bkColor,
+
                   [in]  ULONG          nBkColor,
 
                   [in]  IXC_FreeRotate  nType,
 
                   [in]  IXC_FreeRotate  nType,
 
                   [in]  ULONG          nFlags);</pre>
 
                   [in]  ULONG          nFlags);</pre>
Line 15: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;nAngle
 
;nAngle
:[in]  Specifies the angle for rotation. Value must be in degrees.
+
:[in]  Specifies the angle for rotation, in degrees. Positive value means rotation counterclockwise.
;bkColor
+
;nBkColor
 
:[in]  Specifies the color of the background fill.
 
:[in]  Specifies the color of the background fill.
 
;nType
 
;nType
:[in]  Specifies the method to be used. May be a combination of the following [[PXV:IXC_FreeRotate|IXC_FreeRotate values]].
+
:[in]  Specifies the method to be used. May be one of the following [[PXV:IXC_FreeRotate|IXC_FreeRotate values]].
 
;nFlags
 
;nFlags
 
:[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]].
Line 27: Line 26:
  
 
== See Also ==
 
== See Also ==
:[[PXV:IIXC_Page|IIXC_Page]]
+
[[PXV:IIXC_Page|IIXC_Page]]
:[[PXV:IIXC_Page_Place|IIXC_Page::Place]]
+
:[[PXV:IIXC_Page_AlphaPlace|IIXC_Page::AlphaPlace]]
+
:[[PXV:IIXC_Page_Tile|IIXC_Page::Tile]]
+
:[[PXV:IIXC_Page_AlphaTile|IIXC_Page::AlphaTile]]
+
:[[PXV:IIXC_Page_Deskew|IIXC_Page::Deskew]]
+
:[[PXV:IXC_FreeRotate|IXC_FreeRotate]]
+
:[[PXV:IXC_ColorFlags|IXC_ColorFlags]]
+

Latest revision as of 03:16, 15 June 2015

The method rotates the image page by a specified angle in degrees.

Syntax

HRESULT FreeRotate([in]  double          nAngle,
                   [in]  ULONG           nBkColor,
                   [in]  IXC_FreeRotate  nType,
                   [in]  ULONG           nFlags);

Parameters

nAngle
[in] Specifies the angle for rotation, in degrees. Positive value means rotation counterclockwise.
nBkColor
[in] Specifies the color of the background fill.
nType
[in] Specifies the method to be used. May be one of the following IXC_FreeRotate 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