[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.IFontCollection

IFontCollection Interface

Common members of the FontCollection and SystemFontCollection.

Namespace: GrapeCity.Documents.Text
Assembly: DS.Documents.Imaging.dll
Syntax
public interface IFontCollection : IList<Font>, ICollection<Font>, IEnumerable<Font>, IEnumerable
Public Interface IFontCollection
    Inherits IList(Of Font), ICollection(Of Font), IEnumerable(Of Font), IEnumerable

Properties

Name Description
DefaultFont

Gets or sets the default system font.

Methods

Name Description
AppendFallbackFontFamilies(params string[])

Appends one or more font family names to the internal list of fallback font families.

AppendFallbackFonts(params Font[])

Appends one or more fonts to the internal fallback font list.

ChooseFallbackFont(int, Font, bool, bool, bool, bool, bool)

Searches for a fallback font containing the given code point that looks similar to the source font.

ClearFallbackFontFamilies()

Clears the internal list of fallback font families.

ClearFallbackFonts()

Clears the internal list of fallback fonts.

FindFamilyName(string, bool, bool)

Searches for a font with the specified family name and style.

FindFamilyName(string[], bool, bool)

Searches for a font from the set of allowable font family names and the specified style.

FindFileName(string)

Searches for the first font having the specified file name.

FindFontPath(string)

Searches for the first font having the specified font path.

FindFullName(string)

Searches for the first font with specified full name.

Full font name that reflects all family and relevant subfamily descriptors.

GetFallbackFontFamilies()

Gets a snapshot of the internal list of fallback font families.

GetFallbackFonts()

Gets a snapshot of the internal fallback font list.

RemoveFallbackFontFamilies(params string[])

Removes one or more font family names from the internal list of fallback font families.

RemoveFallbackFonts(params Font[])

Removes one or more fonts from the internal fallback font list.

SelectByFamilyName(string)

Returns the list of fonts with the specified family name.

SelectByFamilyName(string, List<Font>)

Collects the fonts with the specified family name.

SelectByFileName(string)

Returns the list of fonts having the same specified file name.

SelectByFileName(string, List<Font>)

Collects the fonts having the same specified file name.

SelectByFontPath(string)

Returns the list of fonts having the same specified font path.

SelectByFontPath(string, List<Font>)

Collects the fonts having the same specified font path.

SelectByFullName(string)

Returns the list of fonts with the specified full name.

Full font name that reflects all family and relevant subfamily descriptors.

SelectByFullName(string, List<Font>)

Collects the fonts with the specified full name.

Full font name that reflects all family and relevant subfamily descriptors.

SelectByTypographicFamilyName(string)

Returns the list of fonts with the specified typographic family name.

The typographic family grouping doesn't impose any constraints on the number of faces within it, in contrast with the 4-style family grouping.

SelectByTypographicFamilyName(string, List<Font>)

Collects the fonts with the specified typographic family name.

The typographic family grouping doesn't impose any constraints on the number of faces within it, in contrast with the 4-style family grouping.