IPXC_Document::CreateNewFont Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 5: | Line 5: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CreateNewFont([in] LPWSTR pFaceName, [in, | + | <pre class="brush:cpp;gutter:false">HRESULT CreateNewFont([in] LPWSTR pFaceName, [in, defaultvalue(0)] ULONG nFlags, [in, defaultvalue(0)] ULONG nWeight, [out, retval] IPXC_Font** ppFont);</pre> |
== Parameters == | == Parameters == | ||
Line 11: | Line 11: | ||
:[in] Value of LPWSTR. | :[in] Value of LPWSTR. | ||
;''nFlags'' | ;''nFlags'' | ||
− | :[in, | + | :[in, defaultvalue(0)] Value of ULONG. |
;''nWeight'' | ;''nWeight'' | ||
− | :[in, | + | :[in, defaultvalue(0)] Value of ULONG. |
;''ppFont'' | ;''ppFont'' | ||
:[out, retval] Pointer to [[PXV:IPXC_Font|IPXC_Font]]. | :[out, retval] Pointer to [[PXV:IPXC_Font|IPXC_Font]]. |
Revision as of 22:40, 16 April 2015
The method of interface of PDF-XChange Editor SDK.
Contents
Syntax
HRESULT CreateNewFont([in] LPWSTR pFaceName, [in, defaultvalue(0)] ULONG nFlags, [in, defaultvalue(0)] ULONG nWeight, [out, retval] IPXC_Font** ppFont);
Parameters
- pFaceName
- [in] Value of LPWSTR.
- nFlags
- [in, defaultvalue(0)] Value of ULONG.
- nWeight
- [in, defaultvalue(0)] Value of ULONG.
- ppFont
- [out, retval] Pointer to IPXC_Font.
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IPXC_Document.