ImageCollection — Aspose.Slides FOSS for C++ API Reference
Properties ImageCollection class تحتفظ بجميع الصور المدمجة في عرض تقديمي.
Properties: Aspose::Slides::Foss
#include <Aspose/Slides/Foss/image_collection.h>class ImageCollectionProperties: include/Aspose/Slides/Foss/image_collection.h
Properties
| Properties | Properties |
|---|---|
size() | تُرجع عدد الصور في المجموعة. |
begin() / end() | Iterator دعم للـ range-based for الحلقات. |
فئة Image
Properties Image class (من image.h) تمثل صورة واحدة:
| Properties | Properties |
|---|---|
size() | تُرجع أبعاد الصورة. |
width() | عرض الصورة بالبكسل. |
height() | ارتفاع الصورة بالبكسل. |
data() | تُرجع بيانات الصورة الخام. |
save(const std::string& path) | احفظ الصورة في ملف. |
مصنع Images
Properties Images class (من images.h) توفر طرق مصنع ثابتة:
| Properties | Properties |
|---|---|
from_file(const std::string& path) | حمّل صورة من ملف. |
from_stream(std::istream& stream) | حمّل صورة من تدفق. |
IPPImage
Properties IPPImage class تمثّل صورة داخل حزمة العرض:
| Properties | Properties |
|---|---|
binary_data() | بيانات صورة ثنائية خام. |
image() | يرجع الـ Image الكائن. |
width() | عرض الصورة. |
height() | ارتفاع الصورة. |
x() / y() | إزاحات الموضع. |
replace_image(...) | استبدل بيانات الصورة. |