ImageCollection

ImageCollection — Aspose.Slides FOSS for C++ API Reference

Properties ImageCollection คลาสเก็บรูปภาพทั้งหมดที่ฝังอยู่ในงานนำเสนอ.

Properties: Aspose::Slides::Foss

#include <Aspose/Slides/Foss/image_collection.h>
class ImageCollection

Properties: include/Aspose/Slides/Foss/image_collection.h


Properties

PropertiesProperties
size()คืนค่าจำนวนรูปภาพในคอลเลกชัน.
begin() / end()การสนับสนุน iterator สำหรับ range-based for ลูป.

คลาส Image

Properties Image คลาส (จาก image.h) แสดงถึงรูปภาพเดียว:

PropertiesProperties
size()คืนค่าขนาดของรูปภาพ.
width()ความกว้างของรูปภาพเป็นพิกเซล.
height()ความสูงของรูปภาพเป็นพิกเซล.
data()คืนค่าข้อมูลรูปภาพดิบ.
save(const std::string& path)บันทึกรูปภาพลงไฟล์.

ฟา́คทอรี Images

Properties Images คลาส (จาก images.h) ให้เมธอดแฟกทอรีแบบสแตติก:

PropertiesProperties
from_file(const std::string& path)โหลดรูปภาพจากไฟล์.
from_stream(std::istream& stream)โหลดรูปภาพจากสตรีม.

IPPImage

Properties IPPImage คลาสแสดงถึงรูปภาพภายในแพ็กเกจงานนำเสนอ:

PropertiesProperties
binary_data()ข้อมูลภาพไบนารีดิบ.
image()คืนค่า Image อ็อบเจ็กต์.
width()ความกว้างของภาพ.
height()ความสูงของภาพ.
x() / y()การชดเชยตำแหน่ง.
replace_image(...)แทนที่ข้อมูลภาพ.

ดูเพิ่มเติม

 ภาษาไทย