IUIX_Theme::SetFont Method

From PDF XChange PDF SDK
Jump to: navigation, search


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