Skip to main content
A newer version of this page is available. .

IXlPageBreaks.IndexOf(Int32) Method

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

Namespace: DevExpress.Export.Xl

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.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