Document

نظرة عامة

Document هي فئة في Aspose.PDF FOSS للغة C++.

يمكن قراءة بيانات تعريف المستند عبر Document.Info() وطرق الوصول 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++. طرق الوصول: Document.

طرق الوصول

اسمالنوعالوصولوصف
DocumentDocumentقراءةيحصل على المستند.

الطرق

التوقيعوصف
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 هذا.

انظر أيضاً

 العربية