Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PictureCollection Methods
Show Inherited Hide Inherited

A collection of Picture objects.
Name Description
AddPicture(SpreadsheetImageSource, Cell) Inserts a picture from the SpreadsheetImageSource object so that the top left corner of the picture is located at the specified cell.
AddPicture(SpreadsheetImageSource, CellRange, Boolean) Inserts a picture from the SpreadsheetImageSource object to fit in the specified range allowing you to lock the aspect ratio.
AddPicture(SpreadsheetImageSource, CellRange) Inserts a picture from the SpreadsheetImageSource object to fit in the specified range.
AddPicture(SpreadsheetImageSource, Single, Single, Single, Single, Boolean) Inserts a picture from the SpreadsheetImageSource object at the specified location and resize it to the specified dimensions allowing you to lock the aspect ratio.
AddPicture(SpreadsheetImageSource, Single, Single, Single, Single) Inserts a picture from the SpreadsheetImageSource object at the specified location and resize it to the specified dimensions.
AddPicture(SpreadsheetImageSource, Single, Single) Inserts a picture from the SpreadsheetImageSource object at the specified location.
AddPicture(Image, Cell) Inserts a picture from the Image object so that the top left corner of the picture is located at the specified cell.
AddPicture(Image, CellRange, Boolean) Inserts an image that fits into the specified range. Allows you to lock the aspect ratio.
AddPicture(Image, CellRange) Inserts an image to fit in the specified range.
AddPicture(Image, Single, Single, Single, Single, Boolean) Inserts a picture from a file at the set location and resizes it to the specified dimensions. Allows you to lock the aspect ratio.
AddPicture(Image, Single, Single, Single, Single) Inserts an image at the specified location and resize it to the specified dimensions.
AddPicture(Image, Single, Single) Inserts a picture from the Image object at the specified location.
AddPicture(String, Cell) Inserts a picture from a file so that the top left corner of the picture is located at the specified cell.
AddPicture(String, CellRange, Boolean) Inserts a picture from a file to fit in the specified range allowing you to lock the aspect ratio.
AddPicture(String, CellRange) Inserts a picture from a file to fit in the specified range.
AddPicture(String, Single, Single, Single, Single, Boolean) Inserts a picture from a file at the specified location and resizes it to the specified dimensions allowing you to lock the aspect ratio.
AddPicture(String, Single, Single, Single, Single) Inserts a picture from a file at the specified location and resizes it to the specified dimensions.
AddPicture(String, Single, Single) Inserts a picture from a file at the specified location.
Clear() Removes all objects from the PictureCollection instance.
Contains(Picture) Determines whether the collection contains the specified item.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
GetPictureById(Int32) Gets a picture by its ID value.
GetPicturesByName(String) Gets picture(s) by name.
IndexOf(Picture) Returns the index of the specified picture in the collection.
RemoveAt(Int32) Removes the element at the specified index of the PictureCollection instance.
See Also