IPXC_Document::CreateNewFont Method

From PDF XChange PDF SDK
Jump to: navigation, search
(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] BSTR 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, optional] ULONG nFlags, [in, optional] ULONG nWeight, [out, retval] IPXC_Font** ppFont);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;''pFaceName''
 
;''pFaceName''
:[in]  Value of BSTR.
+
:[in]  Value of LPWSTR.
 
;''nFlags''
 
;''nFlags''
 
:[in, optional]  Value of ULONG.
 
:[in, optional]  Value of ULONG.

Revision as of 13:11, 24 March 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateNewFont([in] LPWSTR pFaceName, [in, optional] ULONG nFlags, [in, optional] ULONG nWeight, [out, retval] IPXC_Font** ppFont);

Parameters

pFaceName
[in] Value of LPWSTR.
nFlags
[in, optional] Value of ULONG.
nWeight
[in, optional] 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.