IPXC_PageText::GetColor2 Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_PageText::GetColor2 Method}}
 
{{#customTitle:IPXC_PageText::GetColor2 Method}}
 +
{{#parentPage:PXV:IPXC_PageText#Methods|GetColor2|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets color from the page text by the given color index.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetColor2([in] ULONG nColorIndex, [out] IPXC_Color** ppColor, [out] float* pAlpha);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetColor2([in]   ULONG         nColorIndex,
 +
                  [out] IPXC_Color** pColor,
 +
                  [out] float*       nAlpha);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nColorIndex''
+
;nColorIndex
:[in]  Value of ULONG.
+
:[in]  Value of ULONG containing the color index.
;''ppColor''
+
;pColor
:[out]  Pointer to [[PXV:IPXC_Color|IPXC_Color]].
+
:[out]  Pointer to [[PXV:IPXC_Color|IPXC_Color]] containing the resulting color.
;''pAlpha''
+
;nAlpha
:[out]  Pointer to float.
+
:[out]  Pointer to float containing the color's alpha value.
  
 
== Return Value ==
 
== Return Value ==
Line 19: Line 24:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_PageText|IPXC_PageText]].
+
[[PXV:IPXC_PageText|IPXC_PageText]]

Latest revision as of 23:47, 12 May 2016


Gets color from the page text by the given color index.

Syntax

HRESULT GetColor2([in]   ULONG         nColorIndex,
                  [out]  IPXC_Color**  pColor,
                  [out]  float*        nAlpha);

Parameters

nColorIndex
[in] Value of ULONG containing the color index.
pColor
[out] Pointer to IPXC_Color containing the resulting color.
nAlpha
[out] Pointer to float containing the color's alpha value.

Return Value

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

See Also

IPXC_PageText