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