IUIX_Inst::CreateNewFont Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 6: Line 6:
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates new ''font'' object of [[PXV:IUIX_Font|IUIX_Font]] interface.
  
 
== Syntax ==
 
== Syntax ==
Line 16: Line 16:
 
== Parameters ==
 
== Parameters ==
 
;pFontName
 
;pFontName
:[in]  Value of BSTR.
+
:[in]  specifies font name.
 
;nFontSize
 
;nFontSize
 
:[in]  Value of double.
 
:[in]  Value of double.
Line 22: Line 22:
 
:[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]  return object of [[PXV:IUIX_Font|IUIX_Font]] interface.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 09:08, 20 May 2015


Creates new font object of IUIX_Font interface.

Syntax

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

Parameters

pFontName
[in] specifies font name.
nFontSize
[in] Value of double.
nFlags
[in, defaultvalue(0)] Value of LONG.
ppFont
[out, retval] return object of IUIX_Font interface.

Return Value

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

See Also

IUIX_Inst.