Document
अवलोकन
Document Aspose.PDF FOSS for C++ में एक क्लास है।
डॉक्यूमेंट मेटाडाटा Document.Info() के माध्यम से और एक्सेसर मेथड्स Title(), Author(), Creator(), Producer(), Subject(), तथा Keywords() द्वारा पढ़ा जा सकता है।
यह क्लास C++ प्रोग्रामों में Document ऑब्जेक्ट्स के साथ काम करने के लिए 22 मेथड प्रदान करती है। उपलब्ध मेथड्स हैं: Decrypt, Document, EmbeddedFiles, Encrypt, Form, Info, IsEncrypted, Metadata, NamedDestinations, Optimize, OptimizeResources, Outlines, और 5 अतिरिक्त मेथड। सभी पब्लिक मेंबर्स Aspose.PDF FOSS for C++ पैकेज को इंस्टॉल करने के बाद किसी भी C++ एप्लिकेशन के लिए उपलब्ध हैं। एक्सेसर मेथड्स: Document.
एक्सेसर विधियाँ
| नाम | प्रकार | पहुँच | विवरण |
|---|---|---|---|
Document | Document | पढ़ें | दस्तावेज़ प्राप्त करता है। |
विधियाँ
| हस्ताक्षर | विवरण |
|---|---|
Document() → Document | इस Document इंस्टेंस पर Document को कॉल करता है। |
IsEncrypted() → bool | यदि encrypted सेट है तो true लौटाता है। |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm) | इस Document इंस्टेंस पर Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm) को कॉल करता है। |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | इस Document उदाहरण पर Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm, usePdf20) को कॉल करता है। |
Permissions() → int | इस Document उदाहरण पर Permissions को कॉल करता है। |
Optimize() | इस Document उदाहरण पर Optimize को कॉल करता है। |
OptimizeResources() | इस Document उदाहरण पर OptimizeResources को कॉल करता है। |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm) | इस Document इंस्टेंस पर Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm) को कॉल करता है। |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | इस Document इंस्टेंस पर Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm, usePdf20) को कॉल करता है। |
Decrypt() | इस Document इंस्टेंस पर Decrypt को कॉल करता है। |
Document() | |
Save(outputFileName: std::string) | इस Document instance पर Save(outputFileName) को कॉल करता है। |
Save() | |
SetTitle(title: std::string) | शीर्षक मान सेट करता है। |
Info() → DocumentInfo | इस Document instance पर Info को कॉल करता है। |
Metadata() → Aspose::Pdf::Metadata | इस Document instance पर Metadata को कॉल करता है। |
Pages() → PageCollection | इस Document इंस्टेंस पर Pages को कॉल करता है। |
EmbeddedFiles() → EmbeddedFileCollection | इस Document इंस्टेंस पर EmbeddedFiles को कॉल करता है। |
NamedDestinations() → NamedDestinationCollection | इस Document इंस्टेंस पर NamedDestinations को कॉल करता है। |
Outlines() → OutlineCollection | इस Document इंस्टेंस पर Outlines को कॉल करता है। |
PageLabels() → PageLabelCollection | इस Document इंस्टेंस पर PageLabels को कॉल करता है। |
Form() → Aspose::Pdf::Forms::Form | इस Document इंस्टेंस पर Form को कॉल करता है। |