[]
Specifies the collection of EmbeddedFont class items.
public class EmbeddedFontCollection : CollectionBase, IList, ICollection, IEnumerable
Name | Description |
---|---|
EmbeddedFontCollection() |
Name | Description |
---|---|
this[int] | Gets the EmbeddedFont at the specified index. |
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. |