IUIX_Theme::SetFont Method

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

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