IUIX_Inst::CreateNewFont Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT CreateNewFont([in] BSTR pFontName, [in] double nFontSize, [in, defaultvalue(0)] LONG nFlags, [out, retval] IUIX_Font** ppFont);
Parameters
- pFontName
- [in] Value of BSTR.
- nFontSize
- [in] Value of double.
- nFlags
- [in, defaultvalue(0)] Value of LONG.
- ppFont
- [out, retval] Pointer to IUIX_Font.
Return Value
Returns S_OK if operation was successful or error code in other cases.