The EmbeddedFontCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
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.
|
|
Add(EmbeddedFont) |
Adds the specified EmbeddedFont to the current collection.
Throws an exception if the font is already present in the collection.
|
|
BuildFont |
Builds the Font object from string.
|
|
Clear |
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.) |
|
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).
|
|
FindFont |
Searches for a font with the specified name and charset,
which exactly matches the specified bold/italic styles.
|
|
GetEnumerator |
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.) |
|
IndexOf |
Returns the index of the specified font in the collection.
|
|
OnClear |
Performs additional custom processes when clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.) |
|
OnClearComplete |
Performs additional custom processes after clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.) |
|
OnInsert |
Performs additional custom processes before inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.) |
|
OnInsertComplete |
Performs additional custom processes after inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.) |
|
OnRemove |
Performs additional custom processes when removing an element from the CollectionBase instance.
(Inherited from CollectionBase.) |
|
OnRemoveComplete |
Performs additional custom processes after removing an element from the CollectionBase instance.
(Inherited from CollectionBase.) |
|
OnSet |
Performs additional custom processes before setting a value in the CollectionBase instance.
(Inherited from CollectionBase.) |
|
OnSetComplete |
Performs additional custom processes after setting a value in the CollectionBase instance.
(Inherited from CollectionBase.) |
|
OnValidate |
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.) |
|
Remove |
Removes the specified font from the current collection.
|
|
RemoveAt |
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList..::..Add |
Adds an object to the end of the CollectionBase.
(Inherited from CollectionBase.) |
|
IList..::..Contains |
Determines whether the CollectionBase contains a specific element.
(Inherited from CollectionBase.) |
|
ICollection..::..CopyTo |
Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionBase.) |
|
IList..::..IndexOf |
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase.
(Inherited from CollectionBase.) |
|
IList..::..Insert |
Inserts an element into the CollectionBase at the specified index.
(Inherited from CollectionBase.) |
|
IList..::..Remove |
Removes the first occurrence of a specific object from the CollectionBase.
(Inherited from CollectionBase.) |