Skip to main content
Row

PictureCollection Members

A collection of Picture objects.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

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