Click or drag to resize

FontCollection Methods

The FontCollection type exposes the following members.

Methods
 NameDescription
Public methodAdd(Font) Adds a system font to the fonts collection. If the font was already added the method returns the existing font
Public methodAdd(PdfFont) Adds a PDF font to the fonts collection. If the font was already added the method returns the existing font.
Public methodAdd(StandardCJKFont) Adds a standard CJK font to the collection. If the font was already added the method returns the existing font.
Public methodAdd(StdFontBaseFamily) Adds a standard font to the collection. If the font was already added the method returns the existing font.
Public methodAdd(String) Adds a system font to the fonts collection. The font is created from the specified file. If the font was already added the method returns the existing font.
Public methodAdd(Font, Boolean) Adds a system font to the fonts collection. If the font was already added the method returns the existing font. The embedFont property says if the added font will be embedded into the PDF document
Public methodAddRange Adds a set of fonts to the fonts collection.
Public methodContains Checks if the specified font belongs to the fonts collection.
Public methodGetEnumerator Gets the collection enumerator.
Public methodIndexOf Returns the index of the specified font in the fonts collection.
Public methodInsert Inserts a font to the specified index in collection.
Public methodRemove Removes the specified font from the fonts collection.
Top
See Also