Document

Document

Overzicht

Document is een klasse in Aspose.PDF FOSS voor C++.

Documentmetadata kan worden gelezen via Document.Info() en de accessor-methoden Title(), Author(), Creator(), Producer(), Subject() en Keywords().

Deze klasse biedt 22 methoden om met Document-objecten te werken in C++-programma’s. Beschikbare methoden zijn: Decrypt, Document, EmbeddedFiles, Encrypt, Form, Info, IsEncrypted, Metadata, NamedDestinations, Optimize, OptimizeResources, Outlines en 5 extra methoden. Alle openbare leden zijn toegankelijk voor elke C++-applicatie na het installeren van het Aspose.PDF FOSS voor C++-pakket. Accessor-methoden: Document.

Toegangsmethoden

NaamTypeToegangBeschrijving
DocumentDocumentLezenHaalt het document op.

Methoden

HandtekeningBeschrijving
Document() → DocumentRoept Document aan op deze Document-instantie.
IsEncrypted() → boolRetourneert true als encrypted is ingesteld.
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm)Roept Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm) aan op deze Document-instantie.
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool)Roept Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm, usePdf20) aan op deze Document-instantie.
Permissions() → intRoept Permissions aan op deze Document-instantie.
Optimize()Roept Optimize aan op deze Document-instantie.
OptimizeResources()Roept OptimizeResources aan op deze Document-instantie.
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm)Roept Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm) aan op deze Document-instantie.
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool)Roept Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm, usePdf20) aan op deze Document-instantie.
Decrypt()Roept Decrypt aan op deze Document-instantie.
Document()
Save(outputFileName: std::string)Roept Save(outputFileName) aan op deze Document-instantie.
Save()
SetTitle(title: std::string)Stelt de titelwaarde in.
Info() → DocumentInfoRoept Info aan op deze Document-instantie.
Metadata() → Aspose::Pdf::MetadataRoept Metadata aan op deze Document-instantie.
Pages() → PageCollectionRoept Pages aan op deze Document-instantie.
EmbeddedFiles() → EmbeddedFileCollectionRoept EmbeddedFiles aan op deze Document-instantie.
NamedDestinations() → NamedDestinationCollectionRoept NamedDestinations aan op deze Document-instantie.
Outlines() → OutlineCollectionRoept Outlines aan op deze Document-instantie.
PageLabels() → PageLabelCollectionRoept PageLabels aan op deze Document-instantie.
Form() → Aspose::Pdf::Forms::FormRoept Form aan op deze Document-instantie.

Zie ook

 Nederlands