The EmbeddedFontCollection type exposes the following members.

Methods

  Name Description
Public method Add(Font)
Builds an EmbeddedFont based on the specified font, and adds it to the current collection. Throws an exception if the font is already present in the collection.
Public method Add(EmbeddedFont)
Adds the specified EmbeddedFont to the current collection. Throws an exception if the font is already present in the collection.
Public method BuildFont
Builds the Font object from string.
Public method Clear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public method FindBestMatch
Searches for a font with the specified name and charset, which is the best match for the specified bold/italic styles (exact bold/italic matching is not guaranteed by this method).
Public method FindFont
Searches for a font with the specified name and charset, which exactly matches the specified bold/italic styles.
Public method GetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public method IndexOf
Returns the index of the specified font in the collection.
Public method Remove
Removes the specified font from the current collection.
Public method RemoveAt
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.)

See Also