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)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetFont([in]                    BSTR          sFontID,
+
<pre class="brush:cpp;gutter:false">HRESULT SetFont([in]                    BSTR          FontID,
                 [in]                    IUIX_Font*    pNewFont,
+
                 [in]                    IUIX_Font*    NewFont,
                 [in, defaultvalue(-1)]  VARIANT_BOOL  bUpdate);</pre>
+
                 [in, defaultvalue(-1)]  VARIANT_BOOL  Update);</pre>
  
 
== Parameters ==
 
== Parameters ==
;sFontID
+
;FontID
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;pNewFont
+
;NewFont
 
:[in]  Pointer to [[PXV:IUIX_Font|IUIX_Font]].
 
:[in]  Pointer to [[PXV:IUIX_Font|IUIX_Font]].
;bUpdate
+
;Update
 
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
  

Revision as of 07:58, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetFont([in]                    BSTR          FontID,
                [in]                    IUIX_Font*    NewFont,
                [in, defaultvalue(-1)]  VARIANT_BOOL  Update);

Parameters

FontID
[in] Value of BSTR.
NewFont
[in] Pointer to IUIX_Font.
Update
[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