PDFView4NET WinForms Edition


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.
TrueTypeFont Constructor(String,Double,Boolean)
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
)

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 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also