TrueTypeFont Constructor(Font,Boolean,Boolean)
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)
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 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also