[]
        
(Showing Draft Content)

C1.C1Preview.EmbeddedFontCollection

EmbeddedFontCollection Class

Specifies the collection of EmbeddedFont class items.

Inheritance
EmbeddedFontCollection
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class EmbeddedFontCollection : CollectionBase, IList, ICollection, IEnumerable

Constructors

Name Description
EmbeddedFontCollection()

Properties

Name Description
this[int]

Gets the EmbeddedFont at the specified index.

Methods

Name Description
Add(EmbeddedFont)

Adds the specified EmbeddedFont to the current collection. Throws an exception if the font is already present in the collection.

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.

BuildFont(string, ITypeDescriptorContext, CultureInfo)

Builds the Font object from string.

FindBestMatch(string, int, FontStyle)

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).

FindFont(string, int, bool, bool)

Searches for a font with the specified name and charset, which exactly matches the specified bold/italic styles.

FindFont(string, int, FontStyle)

Searches for a font with the specified name and charset, which exactly matches the specified bold/italic styles.

IndexOf(EmbeddedFont)

Returns the index of the specified font in the collection.

Remove(EmbeddedFont)

Removes the specified font from the current collection.