PDFView4NET WinForms Edition
TrueTypeFont Constructor(Font,Boolean,Boolean)




O2S.Components.PDFView4NET.Graphics.Fonts Namespace > TrueTypeFont Class > TrueTypeFont Constructor : TrueTypeFont Constructor(Font,Boolean,Boolean)
the System.Drawing.Font object.
true, if the font file should be embedded in the pdf file.
true, if the font is used to display Unicode strings
Initializes a new TrueTypeFont object based on a System.Drawing.Font object.
Syntax
'Declaration
 
Public Function New( _
   ByVal font As Font, _
   ByVal embed As Boolean, _
   ByVal unicode As Boolean _
)
'Usage
 
Dim font As Font
Dim embed As Boolean
Dim unicode As Boolean
 
Dim instance As New TrueTypeFont(font, embed, unicode)
public TrueTypeFont( 
   Font font,
   bool embed,
   bool unicode
)
public: TrueTypeFont( 
   Font* font,
   bool embed,
   bool unicode
)
public:
TrueTypeFont( 
   Font^ font,
   bool embed,
   bool unicode
)

Parameters

font
the System.Drawing.Font object.
embed
true, if the font file should be embedded in the pdf file.
unicode
true, if the font is used to display Unicode strings
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TrueTypeFont Class
TrueTypeFont Members
Overload List