Class PictureCollection
Contents
[
Hide
]PictureCollection class
Encapsulates a collection of Picture
objects.
public class PictureCollection : CollectionBase<Picture>
Properties
Name | Description |
---|---|
Capacity { get; set; } | |
Count { get; } | |
Item { get; } | Gets the Picture element at the specified index. |
Item { get; set; } |
Methods
Name | Description |
---|---|
Add(int, int, Stream) | Adds a picture to the collection. |
Add(int, int, string) | Adds a picture to the collection. |
Add(int, int, int, int, Stream) | Adds a picture to the collection. |
Add(int, int, int, int, string) | Adds a picture to the collection. |
Add(int, int, Stream, int, int) | Adds a picture to the collection. |
Add(int, int, string, int, int) | Adds a picture to the collection. |
BinarySearch(Picture) | |
BinarySearch(Picture, IComparer<Picture>) | |
BinarySearch(int, int, Picture, IComparer<Picture>) | |
Clear() | Clear all pictures. (2 methods) |
Contains(Picture) | |
CopyTo(Picture[]) | |
CopyTo(Picture[], int) | |
CopyTo(int, Picture[], int, int) | |
Exists(Predicate<Picture>) | |
Find(Predicate<Picture>) | |
FindAll(Predicate<Picture>) | |
FindIndex(Predicate<Picture>) | |
FindIndex(int, Predicate<Picture>) | |
FindIndex(int, int, Predicate<Picture>) | |
FindLast(Predicate<Picture>) | |
FindLastIndex(Predicate<Picture>) | |
FindLastIndex(int, Predicate<Picture>) | |
FindLastIndex(int, int, Predicate<Picture>) | |
GetEnumerator() | |
IndexOf(Picture) | |
IndexOf(Picture, int) | |
IndexOf(Picture, int, int) | |
LastIndexOf(Picture) | |
LastIndexOf(Picture, int) | |
LastIndexOf(Picture, int, int) | |
RemoveAt(int) | Remove shapes at the specific index (2 methods) |
Examples
[C#]
//Instantiating a Workbook object
Workbook workbook = new Workbook();
//get PictureCollection
PictureCollection pictures = workbook.Worksheets[0].Pictures;
//do your business
//Save the excel file.
workbook.Save("result.xlsx");
See Also
- class CollectionBase<T>
- class Picture
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells