Back to Devexpress

PictureCollection.GetPictureById(Int32) Method

officefileapi-devexpress-dot-spreadsheet-dot-picturecollection-dot-getpicturebyid-x28-system-dot-int32-x29.md

latest1.5 KB
Original Source

PictureCollection.GetPictureById(Int32) Method

Gets a picture by its ID value.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
Picture GetPictureById(
    int id
)
vb
Function GetPictureById(
    id As Integer
) As Picture

Parameters

NameTypeDescription
idInt32

An integer value specifying the picture’s unique identifier.

|

Returns

TypeDescription
Picture

A Picture object representing the picture with the specified identifier.

|

Remarks

If the picture with the specified unique identifier is not found, the GetPictureById method returns null.

See Also

PictureCollection Interface

PictureCollection Members

DevExpress.Spreadsheet Namespace