PdfFileInfo
Overview
PdfFileInfo is a class in Aspose.PDF FOSS for C++.
PdfFileInfo provides getters and setters for standard metadata fields such as Author, Creator, and custom keys via GetMetaInfo(name) and SetMetaInfo(name, value).
This class declares 39 methods for PdfFileInfo objects in C++ programs.
Available methods include: Author, BindPdf, ClearInfo, CreationDate, Creator, GetMetaInfo, GetPageHeight, GetPageRotation, GetPageWidth, GetPageXOffset, GetPageYOffset, GetPdfVersion, and 18 additional methods.
Public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
PdfFileInfo() | Calls PdfFileInfo on this PdfFileInfo instance. |
BindPdf(srcDoc: Aspose::Pdf::Document) | Calls BindPdf(srcDoc) on this PdfFileInfo instance. |
ClearInfo() | Calls ClearInfo on this PdfFileInfo instance. |
GetMetaInfo(name: std::string) → std::string | Calls GetMetaInfo(name) on this PdfFileInfo instance. |
SetMetaInfo(name: std::string, value: std::string) | Sets the meta info value. |
GetPageHeight(pageNum: int) → float | Calls GetPageHeight(pageNum) on this PdfFileInfo instance. |
GetPageRotation(pageNum: int) → float | Calls GetPageRotation(pageNum) on this PdfFileInfo instance. |
GetPageWidth(pageNum: int) → float | Calls GetPageWidth(pageNum) on this PdfFileInfo instance. |
GetPageXOffset(pageNum: int) → float | Calls GetPageXOffset(pageNum) on this PdfFileInfo instance. |
GetPageYOffset(pageNum: int) → float | Calls GetPageYOffset(pageNum) on this PdfFileInfo instance. |
GetPdfVersion() → std::string | Returns the pdf version. |
SaveNewInfo(outputFile: std::string) → bool | Calls SaveNewInfo(outputFile) on this PdfFileInfo instance. |
SaveNewInfoWithXmp(outputFileName: std::string) → bool | Calls SaveNewInfoWithXmp(outputFileName) on this PdfFileInfo instance. |
Author() → std::string | Calls Author on this PdfFileInfo instance. |
Author(value: std::string) | Calls Author(value) on this PdfFileInfo instance. |
CreationDate() → std::string | Calls CreationDate on this PdfFileInfo instance. |
CreationDate(value: std::string) | Calls CreationDate(value) on this PdfFileInfo instance. |
Creator() → std::string | Calls Creator on this PdfFileInfo instance. |
Creator(value: std::string) | Calls Creator(value) on this PdfFileInfo instance. |
Keywords() → std::string | Calls Keywords on this PdfFileInfo instance. |
Keywords(value: std::string) | Calls Keywords(value) on this PdfFileInfo instance. |
ModDate() → std::string | Calls ModDate on this PdfFileInfo instance. |
ModDate(value: std::string) | Calls ModDate(value) on this PdfFileInfo instance. |
Producer() → std::string | Calls Producer on this PdfFileInfo instance. |
Subject() → std::string | Calls Subject on this PdfFileInfo instance. |
Subject(value: std::string) | Calls Subject(value) on this PdfFileInfo instance. |
Title() → std::string | Calls Title on this PdfFileInfo instance. |
Title(value: std::string) | Calls Title(value) on this PdfFileInfo instance. |
IsEncrypted() → bool | Returns true if encrypted is set. |
IsPdfFile() → bool | Returns true if pdf file is set. |
UseStrictValidation() → bool | Calls UseStrictValidation on this PdfFileInfo instance. |
UseStrictValidation(value: bool) | Calls UseStrictValidation(value) on this PdfFileInfo instance. |
HasCollection() → bool | Returns true if collection is present. |
InputFile() → std::string | Calls InputFile on this PdfFileInfo instance. |
InputFile(value: std::string) | Calls InputFile(value) on this PdfFileInfo instance. |
NumberOfPages() → int | Calls NumberOfPages on this PdfFileInfo instance. |
PasswordType() → Aspose::Pdf::PasswordType | Calls PasswordType on this PdfFileInfo instance. |
HasOpenPassword() → bool | Returns true if open password is present. |
HasEditPassword() → bool | Returns true if edit password is present. |