PictureCollection
Inhalt
[
Ausblenden
]PictureCollection class
Kapselt eine Sammlung vonPicture Objekte.
public class PictureCollection : CollectionBase<Picture>
Eigenschaften
| Name | Beschreibung |
|---|---|
| Capacity { get; set; } | |
| Count { get; } | |
| Item { get; } | Ruft die abPicture Element am angegebenen Index. |
| Item { get; set; } |
Methoden
| Name | Beschreibung |
|---|---|
| Add(int, int, Stream) | Fügt der Sammlung ein Bild hinzu. |
| Add(int, int, string) | Fügt der Sammlung ein Bild hinzu. |
| Add(int, int, int, int, Stream) | Fügt der Sammlung ein Bild hinzu. |
| Add(int, int, int, int, string) | Fügt der Sammlung ein Bild hinzu. |
| Add(int, int, Stream, int, int) | Fügt der Sammlung ein Bild hinzu. |
| Add(int, int, string, int, int) | Fügt der Sammlung ein Bild hinzu. |
| BinarySearch(Picture) | |
| BinarySearch(Picture, IComparer<Picture>) | |
| BinarySearch(int, int, Picture, IComparer<Picture>) | |
| Clear() | Alle Bilder löschen. (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) | Entfernen Sie Formen an dem bestimmten Index (2 methods) |
Beispiele
[C#]
//Instanziieren eines Workbook-Objekts
Workbook workbook = new Workbook();
//PictureCollection abrufen
PictureCollection pictures = workbook.Worksheets[0].Pictures;
// Mach dein Geschäft
//Speichern Sie die Excel-Datei.
workbook.Save("result.xlsx");
Siehe auch
- class CollectionBase<T>
- class Picture
- namensraum Aspose.Cells.Drawing
- Montage Aspose.Cells