PictureCollection
محتويات
[
يخفي
]PictureCollection class
لتغليف مجموعة منPicture الكائنات .
public class PictureCollection : CollectionBase<Picture>
الخصائص
| اسم | وصف |
|---|---|
| Capacity { get; set; } | |
| Count { get; } | |
| Item { get; } | يحصل على ملفPicture عنصر في الفهرس المحدد. |
| Item { get; set; } |
طُرق
| اسم | وصف |
|---|---|
| Add(int, int, Stream) | يضيف صورة إلى المجموعة. |
| Add(int, int, string) | يضيف صورة إلى المجموعة. |
| Add(int, int, int, int, Stream) | يضيف صورة إلى المجموعة. |
| Add(int, int, int, int, string) | يضيف صورة إلى المجموعة. |
| Add(int, int, Stream, int, int) | يضيف صورة إلى المجموعة. |
| Add(int, int, string, int, int) | يضيف صورة إلى المجموعة. |
| BinarySearch(Picture) | |
| BinarySearch(Picture, IComparer<Picture>) | |
| BinarySearch(int, int, Picture, IComparer<Picture>) | |
| Clear() | مسح كافة الصور. (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) | قم بإزالة الأشكال الموجودة في الفهرس المحدد (2 methods) |
أمثلة
[C#]
// إنشاء كائن مصنف
Workbook workbook = new Workbook();
// الحصول على مجموعة PictureCollection
PictureCollection pictures = workbook.Worksheets[0].Pictures;
// قم بعملك
// احفظ ملف Excel.
workbook.Save("result.xlsx");
أنظر أيضا
- class CollectionBase<T>
- class Picture
- مساحة الاسم Aspose.Cells.Drawing
- المجسم Aspose.Cells