[]
Represents a collection of FontInfo objects.
public class FontInfoCollection : IReadOnlyCollection<FontInfo>, IEnumerable<FontInfo>, IEnumerable
Public Class FontInfoCollection
Implements IReadOnlyCollection(Of FontInfo), IEnumerable(Of FontInfo), IEnumerable
| Name | Description |
|---|---|
| Count | |
| Document | Gets the document that contains this collection. |
| IsReadOnly | Gets a value indicating whether the containing document is in reading mode. |
| this[int] | Gets a font by its index in this collection. |
| this[string] | Gets a font by its primary name. |
| Name | Description |
|---|---|
| Add(Font, bool) | Adds a new font into the collection. |
| Add(string) | Adds a font with a specified primary name to the collection. |
| Append(IList<Font>, bool) | Appends a list of GrapeCity.Documents.Text.Font objects to the collection. Fonts that already exist in the collection are ignored. |
| Clear() | Removes all fonts from the collection. |
| Contains(string) | Checks whether the collection contains a font with the specified primary name. |
| Find(string) | Finds a FontInfo in this collection by its primary or alternate name. |
| GetEnumerator() | |
| Remove(FontInfo) | Removes a specified font from the collection. |
| Remove(string) | Removes a font with the specified primary name from the collection. |
| TryGetValue(string, out FontInfo) | Tries to get a font from the collection by its primary name. |