The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
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(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, Range)

Inserts an image to fit in the specified range.

AddPicture(Image, Range, Boolean)

Inserts an image to fit in the specified range allowing you to lock the aspect ratio.

AddPicture(Image, Single, Single)

Inserts a picture from the Image object at the specified location.

AddPicture(Image, Single, Single, Single, Single)

Inserts an image at the specified location and resize it to the specified dimensions.

AddPicture(Image, 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(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, Range)

Inserts a picture from the SpreadsheetImageSource object to fit in the specified range.

AddPicture(SpreadsheetImageSource, Range, Boolean)

Inserts a picture from the SpreadsheetImageSource object to fit in the specified range allowing you to lock the aspect ratio.

AddPicture(SpreadsheetImageSource, Single, Single)

Inserts a picture from the SpreadsheetImageSource object at the specified location.

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, 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(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, Range)

Inserts a picture from a file to fit in the specified range.

AddPicture(String, Range, Boolean)

Inserts a picture from a file to fit in the specified range allowing you to lock the aspect ratio.

AddPicture(String, Single, Single)

Inserts a picture from a file at the specified location.

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, 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.

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