Back to Devexpress

PageBreaksCollection.Add(Int32) Method

officefileapi-devexpress-dot-spreadsheet-dot-pagebreakscollection-dot-add-x28-system-dot-int32-x29.md

latest1.6 KB
Original Source

PageBreaksCollection.Add(Int32) Method

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

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Add(
    int position
)
vb
Sub Add(
    position As Integer
)

Parameters

NameTypeDescription
positionInt32

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

PageBreaksCollection Interface

PageBreaksCollection Members

DevExpress.Spreadsheet Namespace