Document
ภาพรวม
Document คือคลาสใน Aspose.PDF FOSS สำหรับ C++.
เมทาดาต้าเอกสารสามารถอ่านได้ผ่าน Document.Info() และเมธอด accessor Title(), Author(), Creator(), Producer(), Subject(), และ Keywords().
คลาสนี้ให้ 22 เมธอดสำหรับทำงานกับวัตถุ Document ในโปรแกรม C++ เมธอดที่มีให้รวมถึง: Decrypt, Document, EmbeddedFiles, Encrypt, Form, Info, IsEncrypted, Metadata, NamedDestinations, Optimize, OptimizeResources, Outlines และเมธอดเพิ่มเติมอีก 5 รายการ สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้จากแอปพลิเคชัน C++ ใด ๆ หลังจากติดตั้งแพ็กเกจ Aspose.PDF FOSS สำหรับ C++ เมธอด accessor: Document.
วิธีการเข้าถึง
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
Document | Document | อ่าน | รับเอกสาร. |
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
Document() → Document | เรียกใช้ Document บนอินสแตนซ์ Document นี้. |
IsEncrypted() → bool | คืนค่า true หาก encrypted ถูกตั้งค่า. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm) | เรียกใช้ Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm) บนอินสแตนซ์ Document นี้. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | เรียกใช้ Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm, usePdf20) บนอินสแตนซ์ Document นี้. |
Permissions() → int | เรียกใช้ Permissions บนอินสแตนซ์ Document นี้. |
Optimize() | เรียกใช้ Optimize บนอินสแตนซ์ Document นี้. |
OptimizeResources() | เรียกใช้ OptimizeResources บนอินสแตนซ์ Document นี้. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm) | เรียกใช้ Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm) บนอินสแตนซ์ Document นี้. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | เรียกใช้ Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm, usePdf20) บนอินสแตนซ์ Document นี้. |
Decrypt() | เรียกใช้ Decrypt บนอินสแตนซ์ Document นี้. |
Document() | |
Save(outputFileName: std::string) | เรียก Save(outputFileName) บนอินสแตนซ์ Document นี้. |
Save() | |
SetTitle(title: std::string) | ตั้งค่าค่าชื่อเรื่อง. |
Info() → DocumentInfo | เรียก Info บนอินสแตนซ์ Document นี้. |
Metadata() → Aspose::Pdf::Metadata | เรียก Metadata บนอินสแตนซ์ Document นี้. |
Pages() → PageCollection | เรียก Pages บนอินสแตนซ์ Document นี้. |
EmbeddedFiles() → EmbeddedFileCollection | เรียก EmbeddedFiles บนอินสแตนซ์ Document นี้. |
NamedDestinations() → NamedDestinationCollection | เรียก NamedDestinations บนอินสแตนซ์ Document นี้. |
Outlines() → OutlineCollection | เรียก Outlines บนอินสแตนซ์ Document นี้. |
PageLabels() → PageLabelCollection | เรียก PageLabels บนอินสแตนซ์ Document นี้. |
Form() → Aspose::Pdf::Forms::Form | เรียก Form บนอินสแตนซ์ Document นี้. |