The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

PageBreaksCollection Interface

A collection of page breaks in a worksheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public interface PageBreaksCollection :
    ISimpleCollection<int>,
    IEnumerable<int>,
    IEnumerable,
    ICollection
Public Interface PageBreaksCollection
    Inherits ISimpleCollection(Of Integer),
             IEnumerable(Of Integer),
             IEnumerable,
             ICollection
public interface PageBreaksCollection :
    ISimpleCollection<int>,
    IEnumerable<int>,
    IEnumerable,
    ICollection
Public Interface PageBreaksCollection
    Inherits ISimpleCollection(Of Integer),
             IEnumerable(Of Integer),
             IEnumerable,
             ICollection

Remarks

Page breaks in the worksheet are contained in two PageBreaksCollection collections and can be accessed using the Worksheet.VerticalPageBreaks and Worksheet.HorizontalPageBreaks properties.

The following picture shows three horizontal page breaks with the values 3, 5 and 9 and two vertical page breaks with the values 2 and 5.

PageBreaks

To insert page break at the required row or column, use the PageBreaksCollection.Add method. To remove page breaks, use the PageBreaksCollection.Clear method.

See Also