IPXC_Document::CreateLinearShade Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateLinearShade([in]          PXC_Point*          pPnt1,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateLinearShade([in]          PXC_Point*          stPnt1,
                           [in]          PXC_Point*          pPnt2,
+
                           [in]          PXC_Point*          stPnt2,
 
                           [in]          IPXC_GradientStops*  pStops,
 
                           [in]          IPXC_GradientStops*  pStops,
 
                           [in]          ULONG                nExtend,
 
                           [in]          ULONG                nExtend,
                           [out, retval]  IPXC_Shading**      ppShade);</pre>
+
                           [out, retval]  IPXC_Shading**      pShade);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pPnt1
+
;stPnt1
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
;pPnt2
+
;stPnt2
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
 
;pStops
 
;pStops
Line 24: Line 24:
 
;nExtend
 
;nExtend
 
:[in]  Value of ULONG.
 
:[in]  Value of ULONG.
;ppShade
+
;pShade
 
:[out, retval]  Pointer to [[PXV:IPXC_Shading|IPXC_Shading]].
 
:[out, retval]  Pointer to [[PXV:IPXC_Shading|IPXC_Shading]].
  

Latest revision as of 03:24, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateLinearShade([in]           PXC_Point*           stPnt1,
                          [in]           PXC_Point*           stPnt2,
                          [in]           IPXC_GradientStops*  pStops,
                          [in]           ULONG                nExtend,
                          [out, retval]  IPXC_Shading**       pShade);

Parameters

stPnt1
[in] Pointer to PXC_Point.
stPnt2
[in] Pointer to PXC_Point.
pStops
[in] Pointer to IPXC_GradientStops.
nExtend
[in] Value of ULONG.
pShade
[out, retval] Pointer to IPXC_Shading.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_Document