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

    Show / Hide Table of Contents

    PageBreak Class

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

    Base class for all page breaks.

    • C#
    • VB.NET
    public abstract class PageBreak : IComparable<PageBreak>
    Public MustInherit Class PageBreak
        Implements IComparable(Of PageBreak)
    Inheritance:
    System.Object
    PageBreak
    Derived
    HorizontalPageBreak
    VerticalPageBreak
    Implements
    System.IComparable<PageBreak>

    Methods

    CompareTo(PageBreak)

    Compares the value of this instance to a specified PageBreak value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified PageBreak value.

    • C#
    • VB.NET
    public virtual int CompareTo(PageBreak other)
    Public Overridable Function CompareTo(other As PageBreak) As Integer
    Parameters
    other
    PageBreak

    The object to compare to the current instance.

    Returns
    System.Int32

    A signed number indicating the relative values of this instance and the other parameter.

    If returned value is less than zero, then this instance is earlier than other; else, if it is zero, then this instance is the same as other; else (if it is greater than zero) this instance is later than other.

    Implements

    System.IComparable<T>
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.