ImageCollection

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

Enumerations ImageCollection lớp chứa tất cả các hình ảnh được nhúng trong một bản trình chiếu.

Enumerations: Aspose::Slides::Foss

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

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


Enumerations

EnumerationsEnumerations
size()Trả về số lượng hình ảnh trong bộ sưu tập.
begin() / end()Hỗ trợ iterator cho vòng lặp dựa trên phạm vi for vòng lặp.

Lớp Image

Enumerations Image lớp (từ image.h) đại diện cho một hình ảnh duy nhất:

EnumerationsEnumerations
size()Trả về kích thước của hình ảnh.
width()Chiều rộng hình ảnh tính bằng pixel.
height()Chiều cao hình ảnh tính bằng pixel.
data()Trả về dữ liệu hình ảnh thô.
save(const std::string& path)Lưu hình ảnh vào tệp.

Factory Hình ảnh

Enumerations Images lớp (từ images.h) cung cấp các phương thức factory tĩnh:

EnumerationsEnumerations
from_file(const std::string& path)Tải một hình ảnh từ tệp.
from_stream(std::istream& stream)Tải một hình ảnh từ luồng.

IPPImage

Enumerations IPPImage lớp đại diện cho một hình ảnh trong gói bản trình chiếu:

EnumerationsEnumerations
binary_data()Dữ liệu ảnh nhị phân thô.
image()Trả về Image đối tượng.
width()Chiều rộng ảnh.
height()Chiều cao hình ảnh.
x() / y()Độ dịch vị trí.
replace_image(...)Thay thế dữ liệu hình ảnh.

Xem Thêm

 Tiếng Việt