The DocumentFontCollection type exposes the following members.

Methods

  Name Description
Public method AssignFrom
Clears the current collection, and copies the items from another one. The items are copied by cloning, and must support the ICloneable interface (if an item that does not support is encountered, an exception occurs).
(Inherited from OwnedCollection.)
Public method Clear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public method Exchange
Swap two items in collection.
(Inherited from OwnedCollection.)
Public method FindByFamilyName
Finds a font in the current collection with the specified values of FontFamilyName, Bold and Italic properties.
Public method FindByName
Finds a font in the current collection with the specified values of FontName, Bold and Italic properties.
Public method GetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public method IndexOf
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire collection.
(Inherited from OwnedCollection.)
Public method RemoveAt
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.)

See Also