ImageGear PDF v25.2 - Updated
ImGearPDEFont Constructor(ImGearPDFSysFont,ImGearPDFSysEncoding,ImGearPDFAtom,ImGearPDEFontCreateFlags,ImGearPDFDocument)




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDEFont Class > ImGearPDEFont Constructor : ImGearPDEFont Constructor(ImGearPDFSysFont,ImGearPDFSysEncoding,ImGearPDFAtom,ImGearPDEFontCreateFlags,ImGearPDFDocument)
PDF system font object referencing a system font.
A PDF SysEncoding object.
The base font. An error will be set if the base font name passed is a subset name (XXXXXX+FontName) or an empty string.
One of the ImGearPDEFontCreateFlags values.
PDF document in the context of which this font should be created. Pass null to use the scratch doc.
Initializes a new instance of the ImGearPDEFont class.
Syntax
'Declaration
 
Public Function New( _
   ByVal systemFont As ImGearPDFSysFont, _
   ByVal systemEncoding As ImGearPDFSysEncoding, _
   ByVal baseFontName As ImGearPDFAtom, _
   ByVal options As ImGearPDEFontCreateFlags, _
   Optional ByVal pdfDoc As ImGearPDFDocument _
)
'Usage
 
Dim systemFont As ImGearPDFSysFont
Dim systemEncoding As ImGearPDFSysEncoding
Dim baseFontName As ImGearPDFAtom
Dim options As ImGearPDEFontCreateFlags
Dim pdfDoc As ImGearPDFDocument
 
Dim instance As New ImGearPDEFont(systemFont, systemEncoding, baseFontName, options, pdfDoc)

Parameters

systemFont
PDF system font object referencing a system font.
systemEncoding
A PDF SysEncoding object.
baseFontName
The base font. An error will be set if the base font name passed is a subset name (XXXXXX+FontName) or an empty string.
options
One of the ImGearPDEFontCreateFlags values.
pdfDoc
PDF document in the context of which this font should be created. Pass null to use the scratch doc.

Return Value

The new instance of ImGearPDEFont class object.
See Also

Reference

ImGearPDEFont Class
ImGearPDEFont Members
Overload List
ImGearPDFSysFont Class
ImGearPDEFontCreateFlags Enumeration
ImGearPDFSysEncoding Class
ImGearPDFAtom Class

Is this page helpful?
Yes No
Thanks for your feedback.