IIXC_Page::Shear 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 Shear([in]  double        nAngle,
+
<pre class="brush:cpp;gutter:false">HRESULT Shear([in]  double        Angle,
               [in]  VARIANT_BOOL  bVertical,
+
               [in]  VARIANT_BOOL  Vertical,
               [in]  ULONG        nBkColor,
+
               [in]  ULONG        bkColor,
               [in]  IXC_Shear    nType,
+
               [in]  IXC_Shear    Type,
               [in]  ULONG        nFlags);</pre>
+
               [in]  ULONG        Flags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nAngle
+
;Angle
 
:[in]  Specifies the angle of shear. The value must be in degrees. The angle must be from -45 to +45 degrees.
 
:[in]  Specifies the angle of shear. The value must be in degrees. The angle must be from -45 to +45 degrees.
;bVertical
+
;Vertical
 
:[in]  Specifies whether the shifting direction will be vertical.
 
:[in]  Specifies whether the shifting direction will be vertical.
;nBkColor
+
;bkColor
 
:[in]  Specifies the color for the background fill.
 
:[in]  Specifies the color for the background fill.
;nType
+
;Type
 
:[in]  Value of [[PXV:IXC_Shear|IXC_Shear]] specifies the shear method to be used.
 
:[in]  Value of [[PXV:IXC_Shear|IXC_Shear]] specifies the shear method to be used.
;nFlags
+
;Flags
 
:[in]  Combination of [[PXV:IXC_ColorFlags|IXC_ColorFlags]] which specifies how the data will be copied..
 
:[in]  Combination of [[PXV:IXC_ColorFlags|IXC_ColorFlags]] which specifies how the data will be copied..
  

Revision as of 06:51, 12 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        Angle,
              [in]  VARIANT_BOOL  Vertical,
              [in]  ULONG         bkColor,
              [in]  IXC_Shear     Type,
              [in]  ULONG         Flags);

Parameters

Angle
[in] Specifies the angle of shear. The value must be in degrees. The angle must be from -45 to +45 degrees.
Vertical
[in] Specifies whether the shifting direction will be vertical.
bkColor
[in] Specifies the color for the background fill.
Type
[in] Value of IXC_Shear specifies the shear method to be used.
Flags
[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.

See Also

IIXC_Page