GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    FontInfoCollection Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents a collection of FontInfos in this document.

    • C#
    • VB.NET
    public class FontInfoCollection : IEnumerable<FontInfo>, IEnumerable
    Public Class FontInfoCollection
        Implements IEnumerable(Of FontInfo), IEnumerable
    Inheritance:
    System.Object
    FontInfoCollection
    Implements
    System.Collections.Generic.IEnumerable<FontInfo>
    System.Collections.IEnumerable

    Properties

    Count

    Gets the number of FontInfos contained in the FontInfoCollection.

    • C#
    • VB.NET
    public int Count { get; }
    Public ReadOnly Property Count As Integer
    Property Value
    System.Int32

    The number of FontInfos contained in the FontInfoCollection.

    Item[Int32]

    Gets the FontInfo at the specified index.

    • C#
    • VB.NET
    [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
    FontInfo

    The FontInfo at the specified index.

    Methods

    Clear()

    Removes all elements from the FontInfoCollection.

    • C#
    • VB.NET
    public void Clear()
    Public Sub Clear

    Remove(FontInfo)

    Removes the first occurrence of a specific element from the FontInfoCollection.

    • C#
    • VB.NET
    public bool Remove(FontInfo item)
    Public Function Remove(item As FontInfo) As Boolean
    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
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.