IUIX_Theme::SetFont Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Theme::SetFont Method}}
 
{{#customTitle:IUIX_Theme::SetFont Method}}
{{#parentPage:PXV:IUIX_Theme#Methods|SetFont Method|method}}
+
{{#parentPage:PXV:IUIX_Theme#Methods|SetFont|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetFont([in]                    BSTR          pFontID,
+
<pre class="brush:cpp;gutter:false">HRESULT SetFont([in]                    BSTR          sFontID,
 
                 [in]                    IUIX_Font*    pNewFont,
 
                 [in]                    IUIX_Font*    pNewFont,
 
                 [in, defaultvalue(-1)]  VARIANT_BOOL  bUpdate);</pre>
 
                 [in, defaultvalue(-1)]  VARIANT_BOOL  bUpdate);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pFontID
+
;sFontID
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
 
;pNewFont
 
;pNewFont

Latest revision as of 04:39, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetFont([in]                    BSTR          sFontID,
                [in]                    IUIX_Font*    pNewFont,
                [in, defaultvalue(-1)]  VARIANT_BOOL  bUpdate);

Parameters

sFontID
[in] Value of BSTR.
pNewFont
[in] Pointer to IUIX_Font.
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