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

    Show / Hide Table of Contents

    VerticalPageBreakCollection Class

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

    Collection of vertical page breaks (VerticalPageBreak).

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

    Properties

    Item[Int32]

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

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

    Methods

    Add(Int32)

    Adds a new vertical page break left to the specified column.

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

    The zero-based index of the column.

    Add(Int32, Int32, Int32)

    Adds a new vertical page break left to the specified column and within specified rows.

    • C#
    • VB.NET
    public void Add(int column, int firstRow, int lastRow)
    Public Sub Add(column As Integer, firstRow As Integer, lastRow As Integer)
    Parameters
    column
    System.Int32

    The zero-based index of the column.

    firstRow
    System.Int32

    The zero-based index of the first row.

    lastRow
    System.Int32

    The zero-based index of the last row.

    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.