ImageCollection — Aspose.Slides FOSS for C++ API Reference
Properties ImageCollection คลาสเก็บรูปภาพทั้งหมดที่ฝังอยู่ในงานนำเสนอ.
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 คลาส (จาก image.h) แสดงถึงรูปภาพเดียว:
| Properties | Properties |
|---|---|
size() | คืนค่าขนาดของรูปภาพ. |
width() | ความกว้างของรูปภาพเป็นพิกเซล. |
height() | ความสูงของรูปภาพเป็นพิกเซล. |
data() | คืนค่าข้อมูลรูปภาพดิบ. |
save(const std::string& path) | บันทึกรูปภาพลงไฟล์. |
ฟา́คทอรี Images
Properties Images คลาส (จาก images.h) ให้เมธอดแฟกทอรีแบบสแตติก:
| Properties | Properties |
|---|---|
from_file(const std::string& path) | โหลดรูปภาพจากไฟล์. |
from_stream(std::istream& stream) | โหลดรูปภาพจากสตรีม. |
IPPImage
Properties IPPImage คลาสแสดงถึงรูปภาพภายในแพ็กเกจงานนำเสนอ:
| Properties | Properties |
|---|---|
binary_data() | ข้อมูลภาพไบนารีดิบ. |
image() | คืนค่า Image อ็อบเจ็กต์. |
width() | ความกว้างของภาพ. |
height() | ความสูงของภาพ. |
x() / y() | การชดเชยตำแหน่ง. |
replace_image(...) | แทนที่ข้อมูลภาพ. |