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)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateLinearShade([in]          PXC_Point*          stPnt1,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateLinearShade([in]          PXC_Point*          Pnt1,
                           [in]          PXC_Point*          stPnt2,
+
                           [in]          PXC_Point*          Pnt2,
                           [in]          IPXC_GradientStops*  pStops,
+
                           [in]          IPXC_GradientStops*  Stops,
                           [in]          ULONG                nExtend,
+
                           [in]          ULONG                Extend,
                           [out, retval]  IPXC_Shading**      pShade);</pre>
+
                           [out, retval]  IPXC_Shading**      Shade);</pre>
  
 
== Parameters ==
 
== Parameters ==
;stPnt1
+
;Pnt1
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
;stPnt2
+
;Pnt2
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
;pStops
+
;Stops
 
:[in]  Pointer to [[PXV:IPXC_GradientStops|IPXC_GradientStops]].
 
:[in]  Pointer to [[PXV:IPXC_GradientStops|IPXC_GradientStops]].
;nExtend
+
;Extend
 
:[in]  Value of ULONG.
 
:[in]  Value of ULONG.
;pShade
+
;Shade
 
:[out, retval]  Pointer to [[PXV:IPXC_Shading|IPXC_Shading]].
 
:[out, retval]  Pointer to [[PXV:IPXC_Shading|IPXC_Shading]].
  

Revision as of 07:00, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateLinearShade([in]           PXC_Point*           Pnt1,
                          [in]           PXC_Point*           Pnt2,
                          [in]           IPXC_GradientStops*  Stops,
                          [in]           ULONG                Extend,
                          [out, retval]  IPXC_Shading**       Shade);

Parameters

Pnt1
[in] Pointer to PXC_Point.
Pnt2
[in] Pointer to PXC_Point.
Stops
[in] Pointer to IPXC_GradientStops.
Extend
[in] Value of ULONG.
Shade
[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