PDFView4NET WinForms Edition
TrueTypeFont Constructor(String,Double,Boolean)




O2S.Components.PDFView4NET.Graphics.Fonts Namespace > TrueTypeFont Class > TrueTypeFont Constructor : TrueTypeFont Constructor(String,Double,Boolean)
the full path to the font file.
the size of the font, in points.
true, if the font file should be embedded in the pdf file.
Initializes a new TrueTypeFont object based on the given font file and size.
Syntax
'Declaration
 
Public Function New( _
   ByVal trueTypeFontFile As String, _
   ByVal size As Double, _
   ByVal embed As Boolean _
)
'Usage
 
Dim trueTypeFontFile As String
Dim size As Double
Dim embed As Boolean
 
Dim instance As New TrueTypeFont(trueTypeFontFile, size, embed)
public TrueTypeFont( 
   string trueTypeFontFile,
   double size,
   bool embed
)
public: TrueTypeFont( 
   string* trueTypeFontFile,
   double size,
   bool embed
)
public:
TrueTypeFont( 
   String^ trueTypeFontFile,
   double size,
   bool embed
)

Parameters

trueTypeFontFile
the full path to the font file.
size
the size of the font, in points.
embed
true, if the font file should be embedded in the pdf file.
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