Skip to main content

IXlMergedCells.IndexOf(XlCellRange) Method

Returns the index of the specified merged cell in the collection.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

int IndexOf(
    XlCellRange range
)

Parameters

Name Type Description
range XlCellRange

A XlCellRange object associated with the merged cell to locate in the collection.

Returns

Type Description
Int32

A zero-based integer which specifies the merged cell’s position within the collection. -1 if the specified cell range doesn’t belong to the collection of merged cells.

See Also