IColor::SetRGB 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:IColor::SetRGB Method}}
 
{{#customTitle:IColor::SetRGB Method}}
{{#parentPage:PXV:IColor|method}}
+
{{#parentPage:PXV:IColor|SetRGB Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetRGB([in] float nR, [in] float nG, [in] float nB);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetRGB([in] float nR,
 +
              [in] float nG,
 +
              [in] float nB);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nR''
+
;nR
 
:[in]  Value of float.
 
:[in]  Value of float.
;''nG''
+
;nG
 
:[in]  Value of float.
 
:[in]  Value of float.
;''nB''
+
;nB
 
:[in]  Value of float.
 
:[in]  Value of float.
  

Revision as of 04:49, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetRGB([in]  float  nR,
               [in]  float  nG,
               [in]  float  nB);

Parameters

nR
[in] Value of float.
nG
[in] Value of float.
nB
[in] Value of float.

Return Value

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

See Also

See also IColor.