IUIX_Theme::SetFont Method
From PDF XChange PDF SDK
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 | + | <pre class="brush:cpp;gutter:false">HRESULT SetFont([in] BSTR FontID, |
− | [in] IUIX_Font* | + | [in] IUIX_Font* NewFont, |
− | [in, defaultvalue(-1)] VARIANT_BOOL | + | [in, defaultvalue(-1)] VARIANT_BOOL Update);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;FontID |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
− | ; | + | ;NewFont |
:[in] Pointer to [[PXV:IUIX_Font|IUIX_Font]]. | :[in] Pointer to [[PXV:IUIX_Font|IUIX_Font]]. | ||
− | ; | + | ;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.