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



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

Parameters

stream
TrueType font stream
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