IIXC_Page::Shear Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IIXC_Page::Shear Method}} | {{#customTitle:IIXC_Page::Shear Method}} | ||
− | {{#parentPage:PXV:IIXC_Page|Shear | + | {{#parentPage:PXV:IIXC_Page#Methods|Shear|method}} |
− | + | ||
− | + | ||
− | The method | + | The '''Shear''' method "shears" (tilts) a page horizontally or vertically by an amount determined by a specified angle. This is not rotation. |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT Shear([in] double nAngle, | <pre class="brush:cpp;gutter:false">HRESULT Shear([in] double nAngle, | ||
[in] VARIANT_BOOL bVertical, | [in] VARIANT_BOOL bVertical, | ||
− | [in] ULONG | + | [in] ULONG nBkColor, |
[in] IXC_Shear nType, | [in] IXC_Shear nType, | ||
[in] ULONG nFlags);</pre> | [in] ULONG nFlags);</pre> | ||
Line 16: | Line 15: | ||
== Parameters == | == Parameters == | ||
;nAngle | ;nAngle | ||
− | :[in] | + | :[in] Specifies the angle of shear. The value must be in degrees. The angle must be from -45 to +45 degrees. |
;bVertical | ;bVertical | ||
− | :[in] | + | :[in] Specifies whether the shifting direction will be vertical. |
− | ; | + | ;nBkColor |
− | :[in] | + | :[in] Specifies the color for the background fill. |
;nType | ;nType | ||
− | :[in] Value of [[PXV:IXC_Shear|IXC_Shear]]. | + | :[in] Value of [[PXV:IXC_Shear|IXC_Shear]] specifies the shear method to be used. |
;nFlags | ;nFlags | ||
− | :[in] | + | :[in] Combination of [[PXV:IXC_ColorFlags|IXC_ColorFlags]] which specifies how the data will be copied.. |
== Return Value == | == Return Value == | ||
Line 30: | Line 29: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IIXC_Page|IIXC_Page]] |
Latest revision as of 02:17, 15 June 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 nBkColor, [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.
- nBkColor
- [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.