IIXC_Page::Shear Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 29: | Line 29: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IIXC_Page|IIXC_Page]] | |
− | + | ||
− | + |
Revision as of 03:05, 23 May 2015
The Shear method "shears" (tilts) a page horizontally or vertically by an amount determined by a specified angle. This is not rotation.
Syntax
HRESULT Shear([in] double nAngle, [in] VARIANT_BOOL bVertical, [in] ULONG bkColor, [in] IXC_Shear nType, [in] ULONG nFlags);
Parameters
- nAngle
- [in] Specifies the angle of shear. The value must be in degrees. The angle must be from -45 to +45 degrees.
- bVertical
- [in] Specifies whether the shifting direction will be vertical.
- bkColor
- [in] Specifies the color for the background fill.
- nType
- [in] Value of IXC_Shear specifies the shear method to be used.
- nFlags
- [in] Combination of IXC_ColorFlags which specifies how the data will be copied..
Return Value
Returns S_OK if operation was successful or error code in other cases.