Click or drag to resize
Pdf Library for .NET

PdfFontCollectionAdd(Byte) Method

Adds a TrueType / OpenType font loaded from an in-memory byte array. Convenience overload that avoids needing a temporary file.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public PdfFont Add(
	byte[] fontData
)

Parameters

fontData  Byte
The raw TrueType / OpenType font file bytes.

Return Value

PdfFont
The PdfFont wrapper for the added font.
See Also