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

    Show / Hide Table of Contents

    HorizontalPageBreakCollection Class

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

    Collection of horizontal page breaks (HorizontalPageBreak).

    • C#
    • VB.NET
    public sealed class HorizontalPageBreakCollection : PageBreakCollection<HorizontalPageBreak>, IEnumerable<HorizontalPageBreak>, IEnumerable
    Public NotInheritable Class HorizontalPageBreakCollection
        Inherits PageBreakCollection(Of HorizontalPageBreak)
        Implements IEnumerable(Of HorizontalPageBreak), IEnumerable
    Inheritance:
    System.Object
    PageBreakCollection
    PageBreakCollection<HorizontalPageBreak>
    HorizontalPageBreakCollection
    Implements
    System.Collections.Generic.IEnumerable<HorizontalPageBreak>
    System.Collections.IEnumerable

    Properties

    Item[Int32]

    Gets or sets the horizontal page break at the specified index.

    • C#
    • VB.NET
    public HorizontalPageBreak this[int index] { get; set; }
    Public Property Item(index As Integer) As HorizontalPageBreak
    Parameters
    index
    System.Int32
    Property Value
    HorizontalPageBreak

    Methods

    Add(Int32)

    Adds a new horizontal page break above the specified row.

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

    The zero-based index of the row.

    Add(Int32, Int32, Int32)

    Adds a new horizontal page break above the specified row and within specified columns.

    • C#
    • VB.NET
    public void Add(int row, int firstColumn, int lastColumn)
    Public Sub Add(row As Integer, firstColumn As Integer, lastColumn As Integer)
    Parameters
    row
    System.Int32

    The zero-based index of the row.

    firstColumn
    System.Int32

    The zero-based index of the first column.

    lastColumn
    System.Int32

    The zero-based index of the last column.

    Inherited Properties

    Count

    Gets the number of page breaks contained in the collection.

    (Inherited from PageBreakCollection)

    Inherited Methods

    Clear()

    Removes all page breaks.

    (Inherited from PageBreakCollection)

    RemoveAt(System.Int32)

    Removes the page break at the specified index.

    (Inherited from PageBreakCollection)

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.