PictureCollection
Contenu
[
Cacher
]PictureCollection class
Encapsule une collection dePicture objets.
public class PictureCollection : CollectionBase<Picture>
Propriétés
| Nom | La description |
|---|---|
| Capacity { get; set; } | |
| Count { get; } | |
| Item { get; } | Obtient lePicture élément à l’index spécifié. |
| Item { get; set; } |
Méthodes
| Nom | La description |
|---|---|
| Add(int, int, Stream) | Ajoute une image à la collection. |
| Add(int, int, string) | Ajoute une image à la collection. |
| Add(int, int, int, int, Stream) | Ajoute une image à la collection. |
| Add(int, int, int, int, string) | Ajoute une image à la collection. |
| Add(int, int, Stream, int, int) | Ajoute une image à la collection. |
| Add(int, int, string, int, int) | Ajoute une image à la collection. |
| BinarySearch(Picture) | |
| BinarySearch(Picture, IComparer<Picture>) | |
| BinarySearch(int, int, Picture, IComparer<Picture>) | |
| Clear() | Effacer toutes les images. (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) | Supprimer les formes à l’index spécifique (2 methods) |
Exemples
[C#]
//Instanciation d'un objet Workbook
Workbook workbook = new Workbook();
//obtenir la collection d'images
PictureCollection pictures = workbook.Worksheets[0].Pictures;
//faites vos affaires
// Enregistrez le fichier excel.
workbook.Save("result.xlsx");
Voir également
- class CollectionBase<T>
- class Picture
- espace de noms Aspose.Cells.Drawing
- Assemblée Aspose.Cells