Document

Prezentare generală

Document este o clasă în Aspose.PDF FOSS pentru C++.

Metadatele documentului pot fi citite prin Document.Info() și metodele de acces Title(), Author(), Creator(), Producer(), Subject() și Keywords().

Această clasă oferă 22 de metode pentru lucrul cu obiecte Document în programe C++. Metodele disponibile includ: Decrypt, Document, EmbeddedFiles, Encrypt, Form, Info, IsEncrypted, Metadata, NamedDestinations, Optimize, OptimizeResources, Outlines și 5 metode suplimentare. Toți membrii publici sunt accesibili oricărei aplicații C++ după instalarea pachetului Aspose.PDF FOSS pentru C++. Metode de acces: Document.

Metode de accesor

NumeTipAccesDescriere:
DocumentDocumentCitireObține documentul.

Metode

SemnăturăDescriere:
Document() → DocumentApelează Document pe această instanță a Documentului.
IsEncrypted() → boolReturnează true dacă encrypted este setat.
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm)Apelează Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm) pe această instanță de Document.
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool)Apelează Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm, usePdf20) pe această instanță de Document.
Permissions() → intApelează Permissions pe această instanță de Document.
Optimize()Apelează Optimize pe această instanță de Document.
OptimizeResources()Apelează OptimizeResources pe această instanță de Document.
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm)Apelează Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm) pe această instanță de Document.
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool)Apelează Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm, usePdf20) pe această instanță de Document.
Decrypt()Apelează Decrypt pe această instanță de Document.
Document()
Save(outputFileName: std::string)Apelează Save(outputFileName) pe această instanță Document.
Save()
SetTitle(title: std::string)Setează valoarea titlului.
Info() → DocumentInfoApelează Info pe această instanță Document.
Metadata() → Aspose::Pdf::MetadataApelează Metadata pe această instanță Document.
Pages() → PageCollectionApelează Pages pe această instanță de Document.
EmbeddedFiles() → EmbeddedFileCollectionApelează EmbeddedFiles pe această instanță de Document.
NamedDestinations() → NamedDestinationCollectionApelează NamedDestinations pe această instanță de Document.
Outlines() → OutlineCollectionApelează Outlines pe această instanță de Document.
PageLabels() → PageLabelCollectionApelează PageLabels pe această instanță de Document.
Form() → Aspose::Pdf::Forms::FormApelează Form pe această instanță de Document.

Vezi și:

 Română