IPXC_Document::CreateNewFont Method

From PDF XChange PDF SDK
Jump to: navigation, search
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, optional] ULONG nFlags, [in, optional] ULONG nWeight, [out, retval] IPXC_Font** ppFont);</pre>
+
<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, optional]  Value of ULONG.
+
:[in, defaultvalue(0)]  Value of ULONG.
 
;''nWeight''
 
;''nWeight''
:[in, optional]  Value of ULONG.
+
:[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 23:40, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

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.