IIXC_Page::Shear Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 2: Line 2:
 
{{#customTitle:IIXC_Page::Shear Method}}
 
{{#customTitle:IIXC_Page::Shear Method}}
 
{{#parentPage:PXV:IIXC_Page|Shear Method|method}}
 
{{#parentPage:PXV:IIXC_Page|Shear Method|method}}
{{ToWrite}}
+
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
The method "shears" (tilts) a page horizontally or vertically by an amount determined by a specified angle. This is not rotation.
  
 
== Syntax ==
 
== Syntax ==
Line 16: Line 16:
 
== Parameters ==
 
== Parameters ==
 
;nAngle
 
;nAngle
:[in]  Value of double.
+
:[in]  Specifies the angle of shear. The value must be in degrees. The angle must be from -45 to +45 degrees.
 
;bVertical
 
;bVertical
:[in]  Value of VARIANT_BOOL.
+
:[in]  Specifies whether the shifting direction will be vertical.
 
;bkColor
 
;bkColor
:[in]  Value of ULONG.
+
:[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]  Value of ULONG.
+
:[in]  Combination of [[PXV:IXC_ColorFlags|flags]] which specifies how the data will be copied..
  
 
== Return Value ==
 
== Return Value ==
Line 30: Line 30:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IIXC_Page|IIXC_Page]].
+
:[[PXV:IIXC_Page|IIXC_Page]]
 +
:[[PXV:IXC_Shear|IXC_Shear]]
 +
:[[PXV:IXC_ColorFlags|IXC_ColorFlags]]

Revision as of 01:00, 7 May 2015


The 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 flags 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
IXC_Shear
IXC_ColorFlags