PictureCollection
Innehåll
[
Dölj
]PictureCollection class
Kapslar in en samling avPicture objekt.
public class PictureCollection : CollectionBase<Picture>
Egenskaper
| namn | Beskrivning |
|---|---|
| Capacity { get; set; } | |
| Count { get; } | |
| Item { get; } | FårPicture element vid angivet index. |
| Item { get; set; } |
Metoder
| namn | Beskrivning |
|---|---|
| Add(int, int, Stream) | Lägger till en bild i samlingen. |
| Add(int, int, string) | Lägger till en bild i samlingen. |
| Add(int, int, int, int, Stream) | Lägger till en bild i samlingen. |
| Add(int, int, int, int, string) | Lägger till en bild i samlingen. |
| Add(int, int, Stream, int, int) | Lägger till en bild i samlingen. |
| Add(int, int, string, int, int) | Lägger till en bild i samlingen. |
| BinarySearch(Picture) | |
| BinarySearch(Picture, IComparer<Picture>) | |
| BinarySearch(int, int, Picture, IComparer<Picture>) | |
| Clear() | Rensa alla bilder. (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) | Ta bort former vid det specifika index (2 methods) |
Exempel
[C#]
//Instantiering av ett arbetsboksobjekt
Workbook workbook = new Workbook();
//skaffa PictureCollection
PictureCollection pictures = workbook.Worksheets[0].Pictures;
//gör dina affärer
//Spara excel-filen.
workbook.Save("result.xlsx");
Se även
- class CollectionBase<T>
- class Picture
- namnutrymme Aspose.Cells.Drawing
- hopsättning Aspose.Cells