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 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Document::CreateLinearShade Method}}
 
{{#customTitle:IPXC_Document::CreateLinearShade Method}}
{{#parentPage:PXV:IPXC_Document|method}}
+
{{#parentPage:PXV:IPXC_Document|CreateLinearShade Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateLinearShade([in] PXC_Point* pPnt1, [in] PXC_Point* pPnt2, [in] IPXC_GradientStops* pStops, [in] ULONG nExtend, [out, retval] IPXC_Shading** ppShade);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateLinearShade([in]           PXC_Point*           pPnt1,
 +
                          [in]           PXC_Point*           pPnt2,
 +
                          [in]           IPXC_GradientStops* pStops,
 +
                          [in]           ULONG               nExtend,
 +
                          [out, retval] IPXC_Shading**       ppShade);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pPnt1''
+
;pPnt1
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
;''pPnt2''
+
;pPnt2
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
 
:[in]  Pointer to [[PXV:PXC_Point|PXC_Point]].
;''pStops''
+
;pStops
 
:[in]  Pointer to [[PXV:IPXC_GradientStops|IPXC_GradientStops]].
 
:[in]  Pointer to [[PXV:IPXC_GradientStops|IPXC_GradientStops]].
;''nExtend''
+
;nExtend
 
:[in]  Value of ULONG.
 
:[in]  Value of ULONG.
;''ppShade''
+
;ppShade
 
:[out, retval]  Pointer to [[PXV:IPXC_Shading|IPXC_Shading]].
 
:[out, retval]  Pointer to [[PXV:IPXC_Shading|IPXC_Shading]].
  

Revision as of 06:01, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateLinearShade([in]           PXC_Point*           pPnt1,
                          [in]           PXC_Point*           pPnt2,
                          [in]           IPXC_GradientStops*  pStops,
                          [in]           ULONG                nExtend,
                          [out, retval]  IPXC_Shading**       ppShade);

Parameters

pPnt1
[in] Pointer to PXC_Point.
pPnt2
[in] Pointer to PXC_Point.
pStops
[in] Pointer to IPXC_GradientStops.
nExtend
[in] Value of ULONG.
ppShade
[out, retval] Pointer to IPXC_Shading.

Return Value

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

See Also

See also IPXC_Document.