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)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Theme::SetColor Method}}
 
{{#customTitle:IUIX_Theme::SetColor Method}}
{{#parentPage:PXV:IUIX_Theme#Methods|SetColor Method|method}}
+
{{#parentPage:PXV:IUIX_Theme#Methods|SetColor|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetColor([in]                    BSTR          pColorID,
+
<pre class="brush:cpp;gutter:false">HRESULT SetColor([in]                    BSTR          sColorID,
 
                 [in]                    ULONG        nNewColor,
 
                 [in]                    ULONG        nNewColor,
 
                 [in, defaultvalue(-1)]  VARIANT_BOOL  bUpdate);</pre>
 
                 [in, defaultvalue(-1)]  VARIANT_BOOL  bUpdate);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pColorID
+
;sColorID
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
 
;nNewColor
 
;nNewColor
Line 25: Line 25:
  
 
== See Also ==
 
== See Also ==
[[PXV:IUIX_Theme|IUIX_Theme]].
+
[[PXV:IUIX_Theme|IUIX_Theme]]

Latest revision as of 03:39, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

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

Parameters

sColorID
[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

IUIX_Theme