EmbeddedFileCollection
ภาพรวม
EmbeddedFileCollection เป็นคลาสใน Aspose.PDF FOSS สำหรับ C++.
คลาสนี้ให้ 9 เมธอดสำหรับทำงานกับอ็อบเจ็กต์ EmbeddedFileCollection ในโปรแกรม C++. เมธอดที่มีให้รวมถึง: Add, Count, Delete, DeleteByKey, EmbeddedFileCollection, FindByName, Keys. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้โดยแอปพลิเคชัน C++ ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.PDF FOSS สำหรับ C++.
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
EmbeddedFileCollection() | เรียก EmbeddedFileCollection บนอินสแตนซ์ EmbeddedFileCollection นี้. |
Add(file: FileSpecification) | embeds a file into the PDF, andDeleteByKey(key)` ลบไฟล์ที่ฝังอยู่ตามชื่อของมัน |
Add(key: std::string, file: FileSpecification) | เรียก Add(key, file) บนอินสแตนซ์ EmbeddedFileCollection นี้. |
DeleteByKey(key: std::string) | เรียก DeleteByKey(key) บนอินสแตนซ์ EmbeddedFileCollection นี้. |
Delete(name: std::string) | เรียก Delete(name) บนอินสแตนซ์ EmbeddedFileCollection นี้. |
Delete() | |
FindByName(name: std::string) → FileSpecification | เรียก FindByName(name) บนอินสแตนซ์ EmbeddedFileCollection นี้. |
Count() → int | เรียก Count บนอินสแตนซ์ EmbeddedFileCollection นี้. |
Keys() → std::vector<std::string> | เรียก Keys บนอินสแตนซ์ EmbeddedFileCollection นี้. |