Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PageBreaksCollection.Add(Int32) Method

Inserts a page break at the specified row (or column).

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

void Add(
    int position
)

#Parameters

Name Type Description
position Int32

An integer that is the index of a row or a column starting from 1 and not exceeding 1048576 for rows or 16384 for columns.

#Remarks

The Add method for the Worksheet.VerticalPageBreaks collection inserts a page break after the column with the specified index. The Add method for a Worksheet.HorizontalPageBreaks collection inserts a page break after the row with the specified index.

See Also