Back to Devexpress

PictureCollection.IndexOf(Picture) Method

officefileapi-devexpress-dot-spreadsheet-dot-picturecollection-dot-indexof-x28-devexpress-dot-spreadsheet-dot-picture-x29.md

latest1.5 KB
Original Source

PictureCollection.IndexOf(Picture) Method

Returns the index of the specified picture in the collection.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int IndexOf(
    Picture picture
)
vb
Function IndexOf(
    picture As Picture
) As Integer

Parameters

NameTypeDescription
picturePicture

A Picture object to locate in the collection.

|

Returns

TypeDescription
Int32

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

|

See Also

PictureCollection Interface

PictureCollection Members

DevExpress.Spreadsheet Namespace