XFINIUM.PDF Documentation
PdfUnicodeTrueTypeFont Constructor(Stream,Int32,Double,Boolean,PdfTrueTypeFontFeatures)



Xfinium.Pdf.Graphics Namespace > PdfUnicodeTrueTypeFont Class > PdfUnicodeTrueTypeFont Constructor : PdfUnicodeTrueTypeFont Constructor(Stream,Int32,Double,Boolean,PdfTrueTypeFontFeatures)
TrueType collection stream.
TrueType font index in the collection.
Font size.
If true, the font will be embedded in the PDF file.
Optional font features to be loaded from the font file
Initializes a new PdfUnicodeTrueTypeFont object.
Syntax
'Declaration
 
Public Function New( _
   ByVal stream As Stream, _
   ByVal index As Integer, _
   ByVal size As Double, _
   ByVal embed As Boolean, _
   ByVal fontFeatures As PdfTrueTypeFontFeatures _
)
'Usage
 
Dim stream As Stream
Dim index As Integer
Dim size As Double
Dim embed As Boolean
Dim fontFeatures As PdfTrueTypeFontFeatures
 
Dim instance As New PdfUnicodeTrueTypeFont(stream, index, size, embed, fontFeatures)

Parameters

stream
TrueType collection stream.
index
TrueType font index in the collection.
size
Font size.
embed
If true, the font will be embedded in the PDF file.
fontFeatures
Optional font features to be loaded from the font 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

PdfUnicodeTrueTypeFont Class
PdfUnicodeTrueTypeFont Members
Overload List