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 provides 39 methods for working with PdfFileInfo objects in C++ programs. Available methods include: Author, BindPdf, ClearInfo, CreationDate, Creator, GetMetaInfo, GetPageHeight, GetPageRotation, GetPageWidth, GetPageXOffset, GetPageYOffset, GetPdfVersion, and 18 additional methods. All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.

Methods

SignatureDescription
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::stringCalls GetMetaInfo(name) on this PdfFileInfo instance.
SetMetaInfo(name: std::string, value: std::string)Sets the meta info value.
GetPageHeight(pageNum: int)floatCalls GetPageHeight(pageNum) on this PdfFileInfo instance.
GetPageRotation(pageNum: int)floatCalls GetPageRotation(pageNum) on this PdfFileInfo instance.
GetPageWidth(pageNum: int)floatCalls GetPageWidth(pageNum) on this PdfFileInfo instance.
GetPageXOffset(pageNum: int)floatCalls GetPageXOffset(pageNum) on this PdfFileInfo instance.
GetPageYOffset(pageNum: int)floatCalls GetPageYOffset(pageNum) on this PdfFileInfo instance.
GetPdfVersion()std::stringReturns the pdf version.
SaveNewInfo(outputFile: std::string)boolCalls SaveNewInfo(outputFile) on this PdfFileInfo instance.
SaveNewInfoWithXmp(outputFileName: std::string)boolCalls SaveNewInfoWithXmp(outputFileName) on this PdfFileInfo instance.
Author()std::stringCalls Author on this PdfFileInfo instance.
Author(value: std::string)Calls Author(value) on this PdfFileInfo instance.
CreationDate()std::stringCalls CreationDate on this PdfFileInfo instance.
CreationDate(value: std::string)Calls CreationDate(value) on this PdfFileInfo instance.
Creator()std::stringCalls Creator on this PdfFileInfo instance.
Creator(value: std::string)Calls Creator(value) on this PdfFileInfo instance.
Keywords()std::stringCalls Keywords on this PdfFileInfo instance.
Keywords(value: std::string)Calls Keywords(value) on this PdfFileInfo instance.
ModDate()std::stringCalls ModDate on this PdfFileInfo instance.
ModDate(value: std::string)Calls ModDate(value) on this PdfFileInfo instance.
Producer()std::stringCalls Producer on this PdfFileInfo instance.
Subject()std::stringCalls Subject on this PdfFileInfo instance.
Subject(value: std::string)Calls Subject(value) on this PdfFileInfo instance.
Title()std::stringCalls Title on this PdfFileInfo instance.
Title(value: std::string)Calls Title(value) on this PdfFileInfo instance.
IsEncrypted()boolReturns true if encrypted is set.
IsPdfFile()boolReturns true if pdf file is set.
UseStrictValidation()boolCalls UseStrictValidation on this PdfFileInfo instance.
UseStrictValidation(value: bool)Calls UseStrictValidation(value) on this PdfFileInfo instance.
HasCollection()boolReturns true if collection is present.
InputFile()std::stringCalls InputFile on this PdfFileInfo instance.
InputFile(value: std::string)Calls InputFile(value) on this PdfFileInfo instance.
NumberOfPages()intCalls NumberOfPages on this PdfFileInfo instance.
PasswordType()Aspose::Pdf::PasswordTypeCalls PasswordType on this PdfFileInfo instance.
HasOpenPassword()boolReturns true if open password is present.
HasEditPassword()boolReturns true if edit password is present.

See Also