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

    Show / Hide Table of Contents

    HorizontalPageBreak Class

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

    Specifies a horizontal position where the new page begins when the worksheet is printed.

    • C#
    • VB.NET
    public sealed class HorizontalPageBreak : PageBreak, IComparable<PageBreak>
    Public NotInheritable Class HorizontalPageBreak
        Inherits PageBreak
        Implements IComparable(Of PageBreak)
    Inheritance:
    System.Object
    PageBreak
    HorizontalPageBreak
    Implements
    System.IComparable<PageBreak>

    Properties

    FirstColumn

    Index of the first column of the new page.

    • C#
    • VB.NET
    public int FirstColumn { get; set; }
    Public Property FirstColumn As Integer
    Property Value
    System.Int32
    Remarks

    Use 0 (first column) if you don't care.

    LastColumn

    Index of the last column of the new page.

    • C#
    • VB.NET
    public int LastColumn { get; set; }
    Public Property LastColumn As Integer
    Property Value
    System.Int32
    Remarks

    Use 255 (last column) if you don't care.

    Row

    Index of the first row of the new page.

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

    Inherited 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.

    (Inherited from PageBreak)

    Implements

    System.IComparable<T>
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.