IPXC_Document::CreateLinearShade Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Document::CreateLinearShade Method}}
 
{{#customTitle:IPXC_Document::CreateLinearShade Method}}
 +
{{#parentPage:PXV:IPXC_Document#Methods|CreateLinearShade|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== 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*           stPnt1,
 +
                          [in]           PXC_Point*           stPnt2,
 +
                          [in]           IPXC_GradientStops* pStops,
 +
                          [in]           ULONG               nExtend,
 +
                          [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
 
:[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''
+
;pShade
 
:[out, retval]  Pointer to [[PXV:IPXC_Shading|IPXC_Shading]].
 
:[out, retval]  Pointer to [[PXV:IPXC_Shading|IPXC_Shading]].
  
Line 23: Line 31:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Document|IPXC_Document]].
+
[[PXV:IPXC_Document|IPXC_Document]]

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