IIXC_Page::FreeRotate Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(16 intermediate revisions by 4 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#Methods|FreeRotate|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
The method rotates the image page by a specified angle in degrees.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FreeRotate([in] double angle, [in] ULONG bkColor, [in] IXC_FreeRotate Type, [in] ULONG Flags);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT FreeRotate([in] double         nAngle,
 +
                  [in] ULONG           nBkColor,
 +
                  [in] IXC_FreeRotate nType,
 +
                  [in] ULONG           nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''angle''
+
;nAngle
:[in]  Value of double.
+
:[in]  Specifies the angle for rotation, in degrees. Positive value means rotation counterclockwise.
;''bkColor''
+
;nBkColor
:[in]  Value of ULONG.
+
:[in]  Specifies the color of the background fill.
;''Type''
+
;nType
:[in]  Value of [[PXV:IXC_FreeRotate|IXC_FreeRotate]].
+
:[in]  Specifies the method to be used. May be one of the following [[PXV:IXC_FreeRotate|IXC_FreeRotate values]].
;''Flags''
+
;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 21: Line 26:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IIXC_Page|IIXC_Page]].
+
[[PXV:IIXC_Page|IIXC_Page]]

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