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

AdTürErişimAçıklama
DocumentDocumentOkumaBelgeyi alır.

Yöntemler

İmzaAçıklama
Document() → DocumentBu Document örneğinde Document çağrılır.
IsEncrypted() → boolencrypted 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() → intBu 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() → DocumentInfoBu Document örneğinde Info metodunu çağırır.
Metadata() → Aspose::Pdf::MetadataBu Document örneğinde Metadata’yı çağırır.
Pages() → PageCollectionBu Document örneğinde Pages’i çağırır.
EmbeddedFiles() → EmbeddedFileCollectionBu Document örneğinde EmbeddedFiles’ı çağırır.
NamedDestinations() → NamedDestinationCollectionBu Document örneğinde NamedDestinations’ı çağırır.
Outlines() → OutlineCollectionBu Document örneğinde Outlines çağrılır.
PageLabels() → PageLabelCollectionBu Document örneğinde PageLabels çağrılır.
Form() → Aspose::Pdf::Forms::FormBu Document örneğinde Form çağrılır.

Ayrıca Bakınız

 Türkçe