ExpertPdf Html to Pdf Converter Library
FontCollection Class
NamespacesExpertPdf.HtmlToPdf.PdfDocumentFontCollection
ExpertPdf Html to Pdf Converter Library
Represents a collection of fonts in a PDF document.
Declaration Syntax
C#Visual BasicVisual C++
public class FontCollection : IEnumerable
Public Class FontCollection
	Implements IEnumerable
public ref class FontCollection : IEnumerable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
FontCollection(Document)
Creates a font collection for the specified PDF document

Add(Font)
Adds a system font to the fonts collection. If the font was already added the method returns the existing font.

Add(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

Add(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.

Add(StdFontBaseFamily)
Adds a standard font to the collection. If the font was already added the method returns the existing font.

Add(StandardCJKFont)
Adds a standard CJK font to the collection. If the font was already added the method returns the existing font.

Add(PdfFont)
Adds a PDF font to the fonts collection. If the font was already added the method returns the existing font.

AddRange(array<PdfFont>[]()[][])
Adds a set of fonts to the fonts collection.

Contains(PdfFont)
Checks if the specified font belongs to the fonts collection.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()()
Gets the collection enumerator.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IndexOf(PdfFont)
Returns the index of the specified font in the fonts collection.

Insert(Int32, PdfFont)
Inserts a font to the specified index in collection.

Item[([( Int32])])
Gets the font from the specified index.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(PdfFont)
Removes the specified font from the fonts collection.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
FontCollection

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)