Click or drag to resize
Pdf Library for .NET

PdfFontCollectionAdd(Stream) Method

Adds a TrueType / OpenType font loaded from a Stream. The stream is read synchronously from its current position to end.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public PdfFont Add(
	Stream fontStream
)

Parameters

fontStream  Stream
A readable stream positioned at the start of the font data.

Return Value

PdfFont
The PdfFont wrapper for the added font.
See Also