EVO HTML to PDF Converter

FontCollection Class

EVO HTML to PDF Converter for .NET Documentation
Represents a collection of fonts in a PDF document.
Inheritance Hierarchy

SystemObject
  EvoPdfFontCollection

Namespace:  EvoPdf
Assembly:  evohtmltopdf (in evohtmltopdf.dll) Version: 10.0.0.0
Syntax

public class FontCollection : IEnumerable

The FontCollection type exposes the following members.

Constructors

  NameDescription
Public methodFontCollection
Creates a font collection for the specified PDF document
Top
Properties

  NameDescription
Public propertyItem
Gets the font from the specified index.
Top
Methods

  NameDescription
Public methodAdd(Byte)
Adds a system font to the fonts collection. The font is created from the specified font data. If the font was already added the method returns the existing font.
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 methodAdd(Byte, Single, FontStyle)
Adds a system font to the fonts collection. The font is created from the specified font data with the specified style. If the font was already added the method returns the existing font.
Public methodAdd(String, Single, FontStyle)
Adds a system font to the fonts collection. The font is created from the specified file with the specified style. If the font was already added the method returns the existing font.
Public methodAddRange
Adds a set of fonts to the fonts collection.
Public methodContains
Checks if the specified font belongs to the fonts collection.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets the collection enumerator.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the index of the specified font in the fonts collection.
Public methodInsert
Inserts a font to the specified index in collection.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the specified font from the fonts collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference