IIXC_Page::FreeRotate Method

From PDF XChange PDF SDK
Jump to: navigation, search

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