IIXC_Page::FreeRotate 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 FreeRotate([in]  double          nAngle,
+
<pre class="brush:cpp;gutter:false">HRESULT FreeRotate([in]  double          Angle,
                   [in]  ULONG          nBkColor,
+
                   [in]  ULONG          bkColor,
                   [in]  IXC_FreeRotate  nType,
+
                   [in]  IXC_FreeRotate  Type,
                   [in]  ULONG          nFlags);</pre>
+
                   [in]  ULONG          Flags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nAngle
+
;Angle
 
:[in]  Specifies the angle for rotation, in degrees. Positive value means rotation counterclockwise.
 
:[in]  Specifies the angle for rotation, in degrees. Positive value means rotation counterclockwise.
;nBkColor
+
;bkColor
 
:[in]  Specifies the color of the background fill.
 
:[in]  Specifies the color of the background fill.
;nType
+
;Type
 
:[in]  Specifies the method to be used. May be one 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
+
;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 rotates the image page by a specified angle in degrees.

Syntax

HRESULT FreeRotate([in]  double          Angle,
                   [in]  ULONG           bkColor,
                   [in]  IXC_FreeRotate  Type,
                   [in]  ULONG           Flags);

Parameters

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