Adds the new instance of built-in font 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(
	PdfBuiltInFont font
)
VB
Public Function AddFont ( 
	font As PdfBuiltInFont
) As PdfFont

Parameters

font
Type: BitMiracle.Docotic.Pdf.PdfBuiltInFont
The PdfBuiltInFont value that specifies the font to add.

Return Value

Type: PdfFont
The newly added PdfFont.

Remarks

Built-in fonts support only Latin character set and encoding. You won't be able to use them with Unicode text.

See Also