PdfUnicodeTrueTypeFont Constructors
Overloads
PdfUnicodeTrueTypeFont(String,Double,Boolean)
Initializes a new PdfUnicodeTrueTypeFont object.
Parameters
path String
Path to TrueType font file.
size Double
Font size.
embed Boolean
If true, the font will be embedded in the PDF file.
PdfUnicodeTrueTypeFont(String,Double,Boolean,PdfTrueTypeFontFeatures)
Initializes a new PdfUnicodeTrueTypeFont object.
public PdfUnicodeTrueTypeFont(string path, double size, bool embed, PdfTrueTypeFontFeatures fontFeatures)
Parameters
path String
Path to TrueType font file.
size Double
Font size.
embed Boolean
If true, the font will be embedded in the PDF file.
fontFeatures PdfTrueTypeFontFeatures
Optional font features to be loaded from the font file
PdfUnicodeTrueTypeFont(String,Int32,Double,Boolean)
Initializes a new PdfUnicodeTrueTypeFont object.
Parameters
path String
Path to TrueType font collection file.
index Int32
TrueType font index in the collection.
size Double
Font size.
embed Boolean
If true, the font will be embedded in the PDF file.
PdfUnicodeTrueTypeFont(String,Int32,Double,Boolean,PdfTrueTypeFontFeatures)
Initializes a new PdfUnicodeTrueTypeFont object.
public PdfUnicodeTrueTypeFont(string path, int index, double size, bool embed, PdfTrueTypeFontFeatures fontFeatures)
Parameters
path String
Path to TrueType font collection file.
index Int32
TrueType font index in the collection.
size Double
Font size.
embed Boolean
If true, the font will be embedded in the PDF file.
fontFeatures PdfTrueTypeFontFeatures
Optional font features to be loaded from the font file
PdfUnicodeTrueTypeFont(Stream,Double,Boolean)
Initializes a new PdfUnicodeTrueTypeFont object.
Parameters
stream Stream
TrueType font stream
size Double
Font size.
embed Boolean
If true, the font will be embedded in the PDF file.
PdfUnicodeTrueTypeFont(Stream,Double,Boolean,PdfTrueTypeFontFeatures)
Initializes a new PdfUnicodeTrueTypeFont object.
public PdfUnicodeTrueTypeFont(Stream stream, double size, bool embed, PdfTrueTypeFontFeatures fontFeatures)
Parameters
stream Stream
TrueType font stream
size Double
Font size.
embed Boolean
If true, the font will be embedded in the PDF file.
fontFeatures PdfTrueTypeFontFeatures
Optional font features to be loaded from the font file
PdfUnicodeTrueTypeFont(Stream,Int32,Double,Boolean)
Initializes a new PdfUnicodeTrueTypeFont object.
Parameters
stream Stream
TrueType collection stream.
index Int32
TrueType font index in the collection.
size Double
Font size.
embed Boolean
If true, the font will be embedded in the PDF file.
PdfUnicodeTrueTypeFont(Stream,Int32,Double,Boolean,PdfTrueTypeFontFeatures)
Initializes a new PdfUnicodeTrueTypeFont object.
public PdfUnicodeTrueTypeFont(Stream stream, int index, double size, bool embed, PdfTrueTypeFontFeatures fontFeatures)
Parameters
stream Stream
TrueType collection stream.
index Int32
TrueType font index in the collection.
size Double
Font size.
embed Boolean
If true, the font will be embedded in the PDF file.
fontFeatures PdfTrueTypeFontFeatures
Optional font features to be loaded from the font file
PdfUnicodeTrueTypeFont(PdfUnicodeTrueTypeFont)
Initializes a new PdfUnicodeTrueTypeFont object.
Parameters
Source TrueType font.
PdfUnicodeTrueTypeFont(PdfUnicodeTrueTypeFont,Double)
Initializes a new PdfUnicodeTrueTypeFont object.
Parameters
Source TrueType font.
size Double
Size of the new font.