Skip to main content

IXlPageBreaks.IndexOf(Int32) Method

Returns the index of the specified page break in the collection.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

int IndexOf(
    int position
)

Parameters

Name Type Description
position Int32

An integer that is the row or column index after which the page break to be found is inserted.

Returns

Type Description
Int32

A zero-based integer which specifies the page break’s position within the collection. -1 if the page break doesn’t belong to the collection.

See Also