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 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Document::CreateNewFont Method}}
 
{{#customTitle:IPXC_Document::CreateNewFont Method}}
{{#parentPage:PXV:IPXC_Document|method}}
+
{{#parentPage:PXV:IPXC_Document|CreateNewFont Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<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>
+
<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 ==
;''pFaceName''
+
;pFaceName
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
;''nFlags''
+
;nFlags
 
:[in, defaultvalue(0)]  Value of ULONG.
 
:[in, defaultvalue(0)]  Value of ULONG.
;''nWeight''
+
;nWeight
 
:[in, defaultvalue(0)]  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 06:01, 23 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.