Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

PageBreaksCollection.Add(Int32) Method

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

Namespace: DevExpress.Spreadsheet

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

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