Document
Genel Bakış
Document, Aspose.PDF FOSS for C++ içinde bir sınıftır.
Belge meta verileri Document.Info() ve erişim yöntemleri Title(), Author(), Creator(), Producer(), Subject() ve Keywords() aracılığıyla okunabilir.
Bu sınıf, C++ programlarında Document nesneleriyle çalışmak için 22 yöntem sağlar. Mevcut yöntemler şunlardır: Decrypt, Document, EmbeddedFiles, Encrypt, Form, Info, IsEncrypted, Metadata, NamedDestinations, Optimize, OptimizeResources, Outlines ve 5 ek yöntem. Tüm public üyeler, Aspose.PDF FOSS for C++ paketini kurduktan sonra herhangi bir C++ uygulaması tarafından erişilebilir. Erişim yöntemleri: Document.
Aksesör Yöntemleri
| Ad | Tür | Erişim | Açıklama |
|---|---|---|---|
Document | Document | Okuma | Belgeyi alır. |
Yöntemler
| İmza | Açıklama |
|---|---|
Document() → Document | Bu Document örneğinde Document çağrılır. |
IsEncrypted() → bool | encrypted ayarlanmışsa true döndürür. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm) | Bu Document örneğinde Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm) metodunu çağırır. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | Bu Document örneği üzerinde Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm, usePdf20) metodunu çağırır. |
Permissions() → int | Bu Document örneği üzerinde Permissions metodunu çağırır. |
Optimize() | Bu Document örneği üzerinde Optimize metodunu çağırır. |
OptimizeResources() | Bu Document örneği üzerinde OptimizeResources metodunu çağırır. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm) | Bu Document örneği üzerinde Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm) metodunu çağırır. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | Bu Document örneği üzerinde Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm, usePdf20) metodunu çağırır. |
Decrypt() | Bu Document örneği üzerinde Decrypt metodunu çağırır. |
Document() | |
Save(outputFileName: std::string) | Bu Document örneğinde Save(outputFileName) metodunu çağırır. |
Save() | |
SetTitle(title: std::string) | Başlık değerini ayarlar. |
Info() → DocumentInfo | Bu Document örneğinde Info metodunu çağırır. |
Metadata() → Aspose::Pdf::Metadata | Bu Document örneğinde Metadata’yı çağırır. |
Pages() → PageCollection | Bu Document örneğinde Pages’i çağırır. |
EmbeddedFiles() → EmbeddedFileCollection | Bu Document örneğinde EmbeddedFiles’ı çağırır. |
NamedDestinations() → NamedDestinationCollection | Bu Document örneğinde NamedDestinations’ı çağırır. |
Outlines() → OutlineCollection | Bu Document örneğinde Outlines çağrılır. |
PageLabels() → PageLabelCollection | Bu Document örneğinde PageLabels çağrılır. |
Form() → Aspose::Pdf::Forms::Form | Bu Document örneğinde Form çağrılır. |