menu

ASP.NET Core

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FontsCollection

    Show / Hide Table of Contents

    Class FontsCollection

    Summary description for FontsCollection.

    Inheritance
    System.Object
    CollectionBase<FontImpl>
    CollectionBaseEx<FontImpl>
    FontsCollection
    Implements
    System.Collections.Generic.IList<FontImpl>
    System.Collections.Generic.ICollection<FontImpl>
    System.Collections.Generic.IEnumerable<FontImpl>
    System.Collections.IEnumerable
    IParentApplication
    ICloneParent
    Inherited Members
    CollectionBaseEx<FontImpl>.OnClear()
    CollectionBaseEx<FontImpl>.OnInsert(Int32, FontImpl)
    CollectionBaseEx<FontImpl>.OnInsertComplete(Int32, FontImpl)
    CollectionBaseEx<FontImpl>.OnRemove(Int32, FontImpl)
    CollectionBaseEx<FontImpl>.OnRemoveComplete(Int32, FontImpl)
    CollectionBaseEx<FontImpl>.OnSet(Int32, FontImpl, FontImpl)
    CollectionBaseEx<FontImpl>.OnSetComplete(Int32, FontImpl, FontImpl)
    CollectionBaseEx<FontImpl>.FindParent(Type)
    CollectionBaseEx<FontImpl>.FindParent(Type, Boolean)
    CollectionBaseEx<FontImpl>.SetParent(Object)
    CollectionBaseEx<FontImpl>.Clone(Object)
    CollectionBaseEx<FontImpl>.EnsureCapacity(Int32)
    CollectionBaseEx<FontImpl>.ClearMaxValues()
    CollectionBaseEx<FontImpl>.GenerateDefaultName(ICollection<FontImpl>, String)
    CollectionBaseEx<FontImpl>.GenerateDefaultName(ICollection, String)
    CollectionBaseEx<FontImpl>.GenerateDefaultName(String, ICollection[])
    CollectionBaseEx<FontImpl>.ChangeName(IDictionary, ValueChangedEventArgs)
    CollectionBaseEx<FontImpl>.Application
    CollectionBaseEx<FontImpl>.Parent
    CollectionBaseEx<FontImpl>.QuietMode
    CollectionBaseEx<FontImpl>.AppImplementation
    CollectionBaseEx<FontImpl>.Changed
    CollectionBaseEx<FontImpl>.Clearing
    CollectionBaseEx<FontImpl>.Cleared
    CollectionBaseEx<FontImpl>.Inserting
    CollectionBaseEx<FontImpl>.Inserted
    CollectionBaseEx<FontImpl>.Removing
    CollectionBaseEx<FontImpl>.Removed
    CollectionBaseEx<FontImpl>.Setting
    CollectionBaseEx<FontImpl>.Set
    CollectionBase<FontImpl>.Clear()
    CollectionBase<FontImpl>.Insert(Int32, FontImpl)
    CollectionBase<FontImpl>.GetEnumerator()
    CollectionBase<FontImpl>.RemoveAt(Int32)
    CollectionBase<FontImpl>.IndexOf(FontImpl)
    CollectionBase<FontImpl>.Add(FontImpl)
    CollectionBase<FontImpl>.CopyTo(FontImpl[], Int32)
    CollectionBase<FontImpl>.Remove(FontImpl)
    CollectionBase<FontImpl>.IEnumerable.GetEnumerator()
    CollectionBase<FontImpl>.Capacity
    CollectionBase<FontImpl>.Count
    CollectionBase<FontImpl>.InnerList
    CollectionBase<FontImpl>.List
    CollectionBase<FontImpl>.IsReadOnly
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.XlsIO.Implementation.Collections
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class FontsCollection : CollectionBaseEx<FontImpl>, IList<FontImpl>, ICollection<FontImpl>, IEnumerable<FontImpl>, IEnumerable, IParentApplication, ICloneParent

    Constructors

    FontsCollection(IApplication, Object)

    Creates collection with specified Application and Parent.

    Declaration
    public FontsCollection(IApplication application, object parent)
    Parameters
    Type Name Description
    IApplication application

    Application object for the collection.

    System.Object parent

    Parent object for the collection.

    Properties

    Item[Int32]

    Returns single font from collection.

    Declaration
    public IFont this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    IFont

    Methods

    Add(IFont)

    Adds font to collection.

    Declaration
    public IFont Add(IFont font)
    Parameters
    Type Name Description
    IFont font

    Font to add.

    Returns
    Type Description
    IFont

    Added font.

    Add(FontImpl, FontRecord)

    Parses font record and adds new font to the collection.

    Declaration
    [CLSCompliant(false)]
    public FontImpl Add(FontImpl font, FontRecord record)
    Parameters
    Type Name Description
    FontImpl font
    FontRecord record

    Font record to parse.

    Returns
    Type Description
    FontImpl

    Added font.

    AddRange(FontsCollection)

    Merges fonts with fonts from another fonts collection.

    Declaration
    public Dictionary<int, int> AddRange(FontsCollection arrFonts)
    Parameters
    Type Name Description
    FontsCollection arrFonts

    Fonts collection to merge fonts from..

    Returns
    Type Description
    System.Collections.Generic.Dictionary<System.Int32, System.Int32>

    Dictionary with updated indexes.

    AddRange(ICollection<Int32>, FontsCollection)

    Adds fonts range from other fonts collection.

    Declaration
    public Dictionary<int, int> AddRange(ICollection<int> colFonts, FontsCollection sourceFonts)
    Parameters
    Type Name Description
    System.Collections.Generic.ICollection<System.Int32> colFonts

    Collection with font indexes to add.

    FontsCollection sourceFonts

    Collection with fonts to add.

    Returns
    Type Description
    System.Collections.Generic.Dictionary<System.Int32, System.Int32>

    Dictionary with updated fonts indexes: key - old font index, value - new font index.

    Clone(WorkbookImpl)

    Creates copy of the fonts collection.

    Declaration
    public FontsCollection Clone(WorkbookImpl parent)
    Parameters
    Type Name Description
    WorkbookImpl parent

    Parent workbook for the new collection.

    Returns
    Type Description
    FontsCollection

    Copy of this collection.

    Contains(FontImpl)

    Indicates whether such font is in collection.

    Declaration
    public bool Contains(FontImpl font)
    Parameters
    Type Name Description
    FontImpl font

    Font to search.

    Returns
    Type Description
    System.Boolean

    True if such font is present in the collection, false otherwise.

    ForceAdd(FontImpl)

    Forces add to the collection even if same font is already in the collection.

    Declaration
    public void ForceAdd(FontImpl font)
    Parameters
    Type Name Description
    FontImpl font

    Font to add.

    InsertDefaultFonts()

    Inserts default fonts into collection.

    Declaration
    public void InsertDefaultFonts()

    OnClearComplete()

    OnClear is invoked after Clear behavior.

    Declaration
    protected override void OnClearComplete()
    Overrides
    Syncfusion.XlsIO.Implementation.Collections.CollectionBaseEx<Syncfusion.XlsIO.Implementation.FontImpl>.OnClearComplete()

    Serialize(OffsetArrayList)

    Saves fonts collection as a set of biff records.

    Declaration
    [CLSCompliant(false)]
    public void Serialize(OffsetArrayList records)
    Parameters
    Type Name Description
    OffsetArrayList records

    OffssetArrayList that will receive biff records.

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    IParentApplication
    ICloneParent
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved