Skip to main content
Row

PageBreaksCollection.Add(Int32) Method

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

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.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