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

    Show / Hide Table of Contents

    PageBreakCollection Class

    Namespace:
    GemBox.Spreadsheet
    Assembly:
    GemBox.Spreadsheet.dll

    Base class for page break collections.

    • C#
    • VB.NET
    public abstract class PageBreakCollection : IEnumerable
    Public MustInherit Class PageBreakCollection
        Implements IEnumerable
    Inheritance:
    System.Object
    PageBreakCollection
    Derived
    PageBreakCollection<T>
    Implements
    System.Collections.IEnumerable

    Properties

    Count

    Gets the number of page breaks contained in the collection.

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

    Methods

    Clear()

    Removes all page breaks.

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

    GetEnumerator()

    Returns an enumerator for the collection.

    • C#
    • VB.NET
    public IEnumerator GetEnumerator()
    Public Function GetEnumerator As IEnumerator
    Returns
    System.Collections.IEnumerator

    An System.Collections.IEnumerator object that can be used to iterate through the collection.

    RemoveAt(Int32)

    Removes the page break at the specified index.

    • C#
    • VB.NET
    public void RemoveAt(int index)
    Public Sub RemoveAt(index As Integer)
    Parameters
    index
    System.Int32

    The zero-based index of the page break to remove.

    Implements

    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.