IUIX_Inst::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:IUIX_Inst::CreateNewFont Method}}
 
{{#customTitle:IUIX_Inst::CreateNewFont Method}}
{{#parentPage:PXV:IUIX_Inst|method}}
+
{{#parentPage:PXV:IUIX_Inst|CreateNewFont Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateNewFont([in] BSTR pFontName, [in] double nFontSize, [in, defaultvalue(0)] LONG nFlags, [out, retval] IUIX_Font** ppFont);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewFont([in]                   BSTR         pFontName,
 +
                      [in]                   double       nFontSize,
 +
                      [in, defaultvalue(0)] LONG         nFlags,
 +
                      [out, retval]         IUIX_Font** ppFont);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pFontName''
+
;pFontName
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;''nFontSize''
+
;nFontSize
 
:[in]  Value of double.
 
:[in]  Value of double.
;''nFlags''
+
;nFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''ppFont''
+
;ppFont
 
:[out, retval]  Pointer to [[PXV:IUIX_Font|IUIX_Font]].
 
:[out, retval]  Pointer to [[PXV:IUIX_Font|IUIX_Font]].
  

Revision as of 06:44, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateNewFont([in]                   BSTR         pFontName,
                      [in]                   double       nFontSize,
                      [in, defaultvalue(0)]  LONG         nFlags,
                      [out, retval]          IUIX_Font**  ppFont);

Parameters

pFontName
[in] Value of BSTR.
nFontSize
[in] Value of double.
nFlags
[in, defaultvalue(0)] Value of LONG.
ppFont
[out, retval] Pointer to IUIX_Font.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IUIX_Inst.