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
| Naam | Type | Toegang | Beschrijving |
|---|---|---|---|
Document | Document | Lezen | Haalt het document op. |
Methoden
| Handtekening | Beschrijving |
|---|---|
Document() → Document | Roept Document aan op deze Document-instantie. |
IsEncrypted() → bool | Retourneert 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() → int | Roept 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() → DocumentInfo | Roept Info aan op deze Document-instantie. |
Metadata() → Aspose::Pdf::Metadata | Roept Metadata aan op deze Document-instantie. |
Pages() → PageCollection | Roept Pages aan op deze Document-instantie. |
EmbeddedFiles() → EmbeddedFileCollection | Roept EmbeddedFiles aan op deze Document-instantie. |
NamedDestinations() → NamedDestinationCollection | Roept NamedDestinations aan op deze Document-instantie. |
Outlines() → OutlineCollection | Roept Outlines aan op deze Document-instantie. |
PageLabels() → PageLabelCollection | Roept PageLabels aan op deze Document-instantie. |
Form() → Aspose::Pdf::Forms::Form | Roept Form aan op deze Document-instantie. |