Adds the new font with specified face name to the end of the collection of document fonts.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfFont AddFont(
	string fontFace
)
VB
Public Function AddFont ( 
	fontFace As String
) As PdfFont

Parameters

fontFace
Type: System.String
The name of the font face.

Return Value

Type: PdfFont
The newly added PdfFont.

See Also