Click or drag to resize
Pdf Library for .NET

PdfDocumentAddFont(String) Method

Adds a font loaded from a TrueType / OpenType file to the pdf document.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public PdfFont AddFont(
	string fontFileName
)

Parameters

fontFileName  String
The full path of the font file.

Return Value

PdfFont
The newly added font.
Remarks
This is a shortcut for Add(String).
See Also