FontInfoCollection Class
Represents a collection of FontInfos in this document.
public class FontInfoCollection : IEnumerable<FontInfo>, IEnumerable
Public Class FontInfoCollection
Implements IEnumerable(Of FontInfo), IEnumerable
- Inheritance:
- System.ObjectFontInfoCollection
Properties
Count
Gets the number of FontInfos contained in the FontInfoCollection.
Property Value
- System.Int32
The number of FontInfos contained in the FontInfoCollection.
Item[Int32]
Gets the FontInfo at the specified index.
[ComVisible(false)]
public FontInfo this[int index] { get; }
<ComVisible(False)>
Public ReadOnly Property Item(index As Integer) As FontInfo
Parameters
index
- System.Int32
The zero-based index of the FontInfo to get.
Property Value
Methods
Clear()
Removes all elements from the FontInfoCollection.
Remove(FontInfo)
Removes the first occurrence of a specific element from the FontInfoCollection.
Parameters
item
- FontInfo
The element from the FontInfoCollection.
Returns
- System.Boolean
true
if item is successfully removed; otherwise, false
. This method also returns false
if item was not found in the FontInfo.
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable