XImageCollection

XImageCollection

ภาพรวม

XImageCollection เป็นคลาสใน Aspose.PDF FOSS สำหรับ C++.

XImageCollection จัดการออบเจกต์ XImage หลายรายการ โดยให้บริการการดำเนินการ Add, Replace, Delete, และ Clear.

คลาสนี้มีเมธอด 13 ตัวสำหรับทำงานกับออบเจกต์ XImageCollection ในโปรแกรม C++ โดยเมธอดที่มีให้รวมถึง: Add, Clear, Contains, Count, Delete, GetImageName, Names, Remove, Replace, XImageCollection. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้จากแอปพลิเคชัน C++ ใดก็ได้หลังจากติดตั้งแพ็กเกจ Aspose.PDF FOSS สำหรับ C++. เมธอดเข้าถึงข้อมูล: XImageCollection.

วิธีการเข้าถึง

ชื่อประเภทการเข้าถึงคำอธิบาย
XImageCollectionXImageCollectionอ่านรับ x image collection.

วิธีการ

ลายเซ็นคำอธิบาย
XImageCollection() → XImageCollectionเรียก XImageCollection บนอินสแตนซ์ XImageCollection นี้.
XImageCollection()
Add(image: std::vector<std::byte>) → std::stringเรียก Add(image) บนอินสแตนซ์ XImageCollection นี้.
Replace(index: int, image: std::vector<std::byte>)เรียก Replace(index, image) บนอินสแตนซ์ XImageCollection นี้.
Count() → intเรียก Count บนอินสแตนซ์ XImageCollection นี้.
Names() → std::vector<std::string>เรียก Names บนอินสแตนซ์ XImageCollection นี้.
Delete(index: int)เรียก Delete(index) บนอินสแตนซ์ XImageCollection นี้.
Delete(name: std::string)เรียก Delete(name) บนอินสแตนซ์ XImageCollection นี้.
Delete()
Clear()เรียก Clear บนอินสแตนซ์ XImageCollection นี้.
Contains(image: XImage) → boolเรียก Contains(image) บนอินสแตนซ์ XImageCollection นี้.
Remove(image: XImage) → boolเรียก Remove(image) บนอินสแตนซ์ XImageCollection นี้.
GetImageName(image: XImage) → std::stringเรียก GetImageName(image) บนอินสแตนซ์ XImageCollection นี้.

ดูเพิ่มเติม

 ภาษาไทย