IPXC_PageRenderParams::GetColor 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 GetColor([in]  PXC_RenderColor  nColorID,
+
<pre class="brush:cpp;gutter:false">HRESULT GetColor([in]  PXC_RenderColor  ColorID,
                 [out]  INT*            nRed,
+
                 [out]  INT*            Red,
                 [out]  INT*            nGreen,
+
                 [out]  INT*            Green,
                 [out]  INT*            nBlue,
+
                 [out]  INT*            Blue,
                 [out]  INT*            nAlpha);</pre>
+
                 [out]  INT*            Alpha);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nColorID
+
;ColorID
 
:[in]  Value of [[PXV:PXC_RenderColor|PXC_RenderColor]].
 
:[in]  Value of [[PXV:PXC_RenderColor|PXC_RenderColor]].
;nRed
+
;Red
 
:[out]  Pointer to INT.
 
:[out]  Pointer to INT.
;nGreen
+
;Green
 
:[out]  Pointer to INT.
 
:[out]  Pointer to INT.
;nBlue
+
;Blue
 
:[out]  Pointer to INT.
 
:[out]  Pointer to INT.
;nAlpha
+
;Alpha
 
:[out]  Pointer to INT.
 
:[out]  Pointer to INT.
  

Revision as of 06:09, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT GetColor([in]   PXC_RenderColor  ColorID,
                 [out]  INT*             Red,
                 [out]  INT*             Green,
                 [out]  INT*             Blue,
                 [out]  INT*             Alpha);

Parameters

ColorID
[in] Value of PXC_RenderColor.
Red
[out] Pointer to INT.
Green
[out] Pointer to INT.
Blue
[out] Pointer to INT.
Alpha
[out] Pointer to INT.

Return Value

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

See Also

IPXC_PageRenderParams