OpenTypeFont Constructors

Overloads

OpenTypeFont(Byte[])Intializes a new instance of OpenTypeFont class.
OpenTypeFont(Stream)Intializes a new instance of OpenTypeFont class.
OpenTypeFont(String)Initializes a new instance of OpenTypeFont class.
OpenTypeFont(String, LineBreaker)Initializes a new instance of OpenTypeFont class.

OpenTypeFont(Byte[])

Intializes a new instance of OpenTypeFont class.

public OpenTypeFont(Byte[] fontData)
Public Sub New (fontData As Byte())

Parameters

fontData
Byte[]

Byte array containing the opentype / truetype font data.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

OpenTypeFont(Stream)

Intializes a new instance of OpenTypeFont class.

public OpenTypeFont(Stream stream)
Public Sub New (stream As Stream)

Parameters

stream
Stream

Stream containing the opentype / truetype font data.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

OpenTypeFont(String)

Initializes a new instance of OpenTypeFont class.

public OpenTypeFont(string filePath)
Public Sub New (filePath As String)

Parameters

filePath
String

Physical file path of the OpenType font file.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

OpenTypeFont(String, LineBreaker)

Initializes a new instance of OpenTypeFont class.

public OpenTypeFont(string filePath, LineBreaker lineBreaker)
Public Sub New (filePath As String, lineBreaker As LineBreaker)

Parameters

filePath
String

Physical file path of the opentype / true type font file.

lineBreaker
LineBreaker

Line breaker to use for the opentype font.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also

OpenTypeFont
ceTe.DynamicPDF.Text

In this topic