XFINIUM.PDF Documentation
PdfAnsiTrueTypeFont Constructor(String,Double,Boolean)



Xfinium.Pdf.Graphics Namespace > PdfAnsiTrueTypeFont Class > PdfAnsiTrueTypeFont Constructor : PdfAnsiTrueTypeFont Constructor(String,Double,Boolean)
Path to TrueType font file.
Font size.
If true, the font will be embedded in the PDF file.
Initializes a new PdfTrueTypeFont object.
Syntax
'Declaration
 
Public Function New( _
   ByVal path As String, _
   ByVal size As Double, _
   ByVal embed As Boolean _
)
'Usage
 
Dim path As String
Dim size As Double
Dim embed As Boolean
 
Dim instance As New PdfAnsiTrueTypeFont(path, size, embed)
public PdfAnsiTrueTypeFont( 
   string path,
   double size,
   bool embed
)
public:
PdfAnsiTrueTypeFont( 
   String^ path,
   double size,
   bool embed
)

Parameters

path
Path to TrueType font file.
size
Font size.
embed
If true, the font will be embedded in the PDF file.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfAnsiTrueTypeFont Class
PdfAnsiTrueTypeFont Members
Overload List