IUIX_Inst::CreateNewFont Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 6: | Line 6: | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates new ''font'' object of [[PXV:IUIX_Font|IUIX_Font]] interface. | |
== Syntax == | == Syntax == | ||
Line 16: | Line 16: | ||
== Parameters == | == Parameters == | ||
;pFontName | ;pFontName | ||
− | :[in] | + | :[in] specifies font name. |
;nFontSize | ;nFontSize | ||
:[in] Value of double. | :[in] Value of double. | ||
Line 22: | Line 22: | ||
:[in, defaultvalue(0)] Value of LONG. | :[in, defaultvalue(0)] Value of LONG. | ||
;ppFont | ;ppFont | ||
− | :[out, retval] | + | :[out, retval] return object of [[PXV:IUIX_Font|IUIX_Font]] interface. |
== Return Value == | == Return Value == |
Revision as of 08:08, 20 May 2015
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.