PDFView4NET WinForms Edition


a stream object with font data.
the size of the font, in points.
true if the font file should be embedded in the pdf file.
TrueTypeFont Constructor(Stream,Double,Boolean)
Initializes a new TrueTypeFont object based on the given font stream and size.
Syntax
'Declaration
 
Public Function New( _
   ByVal trueTypeFontStream As Stream, _
   ByVal size As Double, _
   ByVal embed As Boolean _
)
'Usage
 
Dim trueTypeFontStream As Stream
Dim size As Double
Dim embed As Boolean
 
Dim instance As New TrueTypeFont(trueTypeFontStream, size, embed)
public TrueTypeFont( 
   Stream trueTypeFontStream,
   double size,
   bool embed
)

Parameters

trueTypeFontStream
a stream object with font data.
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