Adds the new font with the properties of the specified 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(
	Font font
)
VB
Public Function AddFont ( 
	font As Font
) As PdfFont

Parameters

font
Type: System.Drawing.Font
The existing Font from which to create the new PdfFont.

Return Value

Type: PdfFont
The newly added PdfFont.

See Also