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.

एक्सेसर विधियाँ

नामप्रकारपहुँचविवरण
DocumentDocumentपढ़ेंदस्तावेज़ प्राप्त करता है।

विधियाँ

हस्ताक्षरविवरण
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 को कॉल करता है।

यह भी देखें

 हिन्दी