IUIX_Theme::SetColor 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:IUIX_Theme::SetColor Method}}
 
{{#customTitle:IUIX_Theme::SetColor Method}}
{{#parentPage:PXV:IUIX_Theme|method}}
+
{{#parentPage:PXV:IUIX_Theme|SetColor Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetColor([in] BSTR pColorID, [in] ULONG nNewColor, [in, defaultvalue(-1)] VARIANT_BOOL bUpdate);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetColor([in]                   BSTR         pColorID,
 +
                [in]                   ULONG         nNewColor,
 +
                [in, defaultvalue(-1)] VARIANT_BOOL bUpdate);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pColorID''
+
;pColorID
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;''nNewColor''
+
;nNewColor
 
:[in]  Value of ULONG.
 
:[in]  Value of ULONG.
;''bUpdate''
+
;bUpdate
 
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
  

Revision as of 05:56, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetColor([in]                    BSTR          pColorID,
                 [in]                    ULONG         nNewColor,
                 [in, defaultvalue(-1)]  VARIANT_BOOL  bUpdate);

Parameters

pColorID
[in] Value of BSTR.
nNewColor
[in] Value of ULONG.
bUpdate
[in, defaultvalue(-1)] Value of VARIANT_BOOL.

Return Value

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

See Also

See also IUIX_Theme.