Aspose::Pdf::Facades::PdfFileInfo class
Contents
[
Hide
]PdfFileInfo class
Represents a class for accessing meta information of PDF document.
class PdfFileInfo : public Aspose::Pdf::Facades::SaveableFacade
Methods
Method | Description |
---|---|
BindPdf(System::SharedPtr<Aspose::Pdf::Document>) override | Initializes the facade. |
ClearInfo() | Clears all meta information of PDF document. |
Close() override | Deinitializes the instance. |
get_Author() | Gets the Author information of PDF document. |
get_CreationDate() | Gets the CreationDate information of PDF document. |
get_Creator() | Gets the Creator information of PDF document. |
get_HasCollection() | Returns true if the current input file is a ‘Portfolio’ file containing collection of PDF files in it. |
get_HasEditPassword() | Returns true if password is needed to modify permissions or document security property. Pay attention that this property can be read only if valid password was provided in PdfFileInfo constructor. In case PasswordType is Inaccessible (means that invalid password was provided) reading this property will fail with InvalidPasswordException. |
get_HasOpenPassword() | Returns true if password is needed to open password protected pdf document. |
get_Header() const | Gets the customized information of PDF document. |
get_InputFile() const | Gets the input file. |
get_InputStream() const | Gets the input stream. |
get_IsEncrypted() | Checkes whether the PDF document is encrypted. |
get_IsPdfFile() | Checkes whether the source input is a valid PDF file. |
get_Keywords() | Gets the Keywords information of PDF document. |
get_ModDate() | Gets the ModDate date information of PDF document. |
get_NumberOfPages() | Gets the number of document pages. |
get_PasswordType() | Returns the type of password which was passed for creating PdfFileInfo instance. See possible values in PasswordType. Pay attention that pdf document can be opened using both user (or open) password and owner (or permissions, edit) password. |
get_Producer() | Gets the Producer information of PDF document. |
get_Subject() | Gets the Subject information of PDF document. |
get_Title() | Gets the Title information of PDF document. |
get_UseStrictValidation() const | Uses strict validation rules via using IsPdfFile property. |
GetDocumentPrivilege() | Gets the PDF document privilege settings. |
GetMetaInfo(System::String) | Gets customized information of PDF document with property name. If there is no property match the name it will return a blank string. |
GetPageHeight(int32_t) | Gets the height of the specified page. |
GetPageRotation(int32_t) | Gets the rotation of the specified page. |
GetPageWidth(int32_t) | Gets the width of the specified page. |
GetPageXOffset(int32_t) | Gets the horizontal offset of the specified page display area. |
GetPageYOffset(int32_t) | Gets the vertical offset of the specified page display area. |
GetPdfVersion() | Gets the version info of PDF document. |
PdfFileInfo() | Initializes a new instance of the Aspose.Pdf.Facades.PdfFileInfo class with default values. |
PdfFileInfo(System::SharedPtr<System::IO::Stream>) | Initializes a new instance of the Aspose.Pdf.Facades.PdfFileInfo class. |
PdfFileInfo(System::SharedPtr<System::IO::Stream>, System::String) | Initializes a new instance of the Aspose.Pdf.Facades.PdfFileInfo class. |
PdfFileInfo(System::String) | Initializes a new instance of the Aspose.Pdf.Facades.PdfFileInfo class. |
PdfFileInfo(System::String, System::String) | Initializes a new instance of the Aspose.Pdf.Facades.PdfFileInfo class. |
PdfFileInfo(System::SharedPtr<Aspose::Pdf::Document>) | Initializes new PdfFileInfo object on base of the document . |
Save(System::SharedPtr<System::IO::Stream>) override | Saves the PDF document to the specified file. |
Save(System::String) override | Saves the PDF document to the specified file. |
SaveNewInfo(System::SharedPtr<System::IO::Stream>) | Save updated PDF document into specified stream. |
SaveNewInfo(System::String) | Save updated PDF document into specified file. |
SaveNewInfoWithXmp(System::String) | Changes the properties specified explicitly by setting file information, other properties remain. |
set_Author(System::String) | Sets the Author information of PDF document. |
set_CreationDate(System::String) | Sets the CreationDate information of PDF document. |
set_Creator(System::String) | Sets the Creator information of PDF document. |
set_Header(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::String>>) | Sets the customized information of PDF document. |
set_InputFile(System::String) | Sets the input file. |
set_InputStream(System::SharedPtr<System::IO::Stream>) | Sets the input stream. |
set_Keywords(System::String) | Sets the Keywords information of PDF document. |
set_ModDate(System::String) | Sets the ModDate date information of PDF document. |
set_Subject(System::String) | Sets the Subject information of PDF document. |
set_Title(System::String) | Sets the Title information of PDF document. |
set_UseStrictValidation(bool) | Uses strict validation rules via using IsPdfFile property. |
SetMetaInfo(System::String, System::String) | Sets customized information of PDF document. |
See Also
- Class SaveableFacade
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++