IPXC_PageText::GetColor2 Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
Line 3: Line 3:
 
{{#customTitle:IPXC_PageText::GetColor2 Method}}
 
{{#customTitle:IPXC_PageText::GetColor2 Method}}
 
{{#parentPage:PXV:IPXC_PageText#Methods|GetColor2|method}}
 
{{#parentPage:PXV:IPXC_PageText#Methods|GetColor2|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets color from the page text by the given color index.
  
 
== Syntax ==
 
== Syntax ==
Line 15: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;nColorIndex
 
;nColorIndex
:[in]  Value of ULONG.
+
:[in]  Value of ULONG containing the color index.
 
;pColor
 
;pColor
:[out]  Pointer to [[PXV:IPXC_Color|IPXC_Color]].
+
:[out]  Pointer to [[PXV:IPXC_Color|IPXC_Color]] containing the resulting color.
 
;nAlpha
 
;nAlpha
:[out]  Pointer to float.
+
:[out]  Pointer to float containing the color's alpha value.
  
 
== Return Value ==
 
== Return Value ==

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