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



Xfinium.Pdf.Graphics Namespace > PdfUnicodeTrueTypeFont Class > PdfUnicodeTrueTypeFont Constructor : PdfUnicodeTrueTypeFont Constructor(Stream,Double,Boolean,PdfTrueTypeFontFeatures)
TrueType font stream
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 size As Double, _
   ByVal embed As Boolean, _
   ByVal fontFeatures As PdfTrueTypeFontFeatures _
)
'Usage
 
Dim stream As Stream
Dim size As Double
Dim embed As Boolean
Dim fontFeatures As PdfTrueTypeFontFeatures
 
Dim instance As New PdfUnicodeTrueTypeFont(stream, size, embed, fontFeatures)
public PdfUnicodeTrueTypeFont( 
   Stream stream,
   double size,
   bool embed,
   PdfTrueTypeFontFeatures fontFeatures
)
public:
PdfUnicodeTrueTypeFont( 
   Stream^ stream,
   double size,
   bool embed,
   PdfTrueTypeFontFeatures^ fontFeatures
)

Parameters

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