PdfFileInfo

PdfFileInfo

概要

PdfFileInfo は Aspose.PDF の C++ 用 FOSS に含まれるクラスです。

PdfFileInfo は、Author、Creator などの標準メタデータフィールドの getter と setter、そしてカスタムキーを GetMetaInfo(name) および SetMetaInfo(name, value) で提供します。

このクラスは C++ プログラムで PdfFileInfo オブジェクトを操作するための 39 のメソッドを提供します。利用可能なメソッドには、Author、BindPdf、ClearInfo、CreationDate、Creator、GetMetaInfo、GetPageHeight、GetPageRotation、GetPageWidth、GetPageXOffset、GetPageYOffset、GetPdfVersion、およびさらに 18 のメソッドがあります。Aspose.PDF の C++ 用 FOSS パッケージをインストールすれば、すべての public メンバーは任意の C++ アプリケーションから利用可能です。

メソッド

シグネチャ説明
PdfFileInfo()このPdfFileInfoインスタンスでPdfFileInfoを呼び出します。
BindPdf(srcDoc: Aspose::Pdf::Document)このPdfFileInfoインスタンスでBindPdf(srcDoc)を呼び出します。
ClearInfo()このPdfFileInfoインスタンスでClearInfoを呼び出します。
GetMetaInfo(name: std::string) → std::stringこのPdfFileInfoインスタンスでGetMetaInfo(name)を呼び出します。
SetMetaInfo(name: std::string, value: std::string)メタ情報の値を設定します。
GetPageHeight(pageNum: int) → floatこの PdfFileInfo インスタンスで GetPageHeight(pageNum) を呼び出します。
GetPageRotation(pageNum: int) → floatこの PdfFileInfo インスタンスで GetPageRotation(pageNum) を呼び出します。
GetPageWidth(pageNum: int) → floatこの PdfFileInfo インスタンスで GetPageWidth(pageNum) を呼び出します。
GetPageXOffset(pageNum: int) → floatこの PdfFileInfo インスタンスで GetPageXOffset(pageNum) を呼び出します。
GetPageYOffset(pageNum: int) → floatこの PdfFileInfo インスタンスで GetPageYOffset(pageNum) を呼び出します。
GetPdfVersion() → std::stringpdf バージョンを返します。
SaveNewInfo(outputFile: std::string) → boolこの PdfFileInfo インスタンスで SaveNewInfo(outputFile) を呼び出します。
SaveNewInfoWithXmp(outputFileName: std::string) → boolこの PdfFileInfo インスタンスで SaveNewInfoWithXmp(outputFileName) を呼び出します。
Author() → std::stringこの PdfFileInfo インスタンスで Author を呼び出します。
Author(value: std::string)この PdfFileInfo インスタンスで Author(value) を呼び出します。
CreationDate() → std::stringこの PdfFileInfo インスタンスで CreationDate を呼び出します。
CreationDate(value: std::string)この PdfFileInfo インスタンスで CreationDate(value) を呼び出します。
Creator() → std::stringこの PdfFileInfo インスタンスで Creator を呼び出します。
Creator(value: std::string)この PdfFileInfo インスタンスで Creator(value) を呼び出します。
Keywords() → std::stringこの PdfFileInfo インスタンスで Keywords を呼び出します。
Keywords(value: std::string)この PdfFileInfo インスタンスで Keywords(value) を呼び出します。
ModDate() → std::stringこの PdfFileInfo インスタンスで ModDate を呼び出します。
ModDate(value: std::string)この PdfFileInfo インスタンスで ModDate(value) を呼び出します。
Producer() → std::stringこの PdfFileInfo インスタンスで Producer を呼び出します。
Subject() → std::stringこの PdfFileInfo インスタンスで Subject を呼び出します。
Subject(value: std::string)この PdfFileInfo インスタンスで Subject(value) を呼び出します。
Title() → std::stringこの PdfFileInfo インスタンスで Title を呼び出します。
Title(value: std::string)この PdfFileInfo インスタンスで Title(value) を呼び出します。
IsEncrypted() → boolencrypted が設定されている場合は true を返します。
IsPdfFile() → boolpdf ファイルが設定されている場合は true を返します。
UseStrictValidation() → boolこの PdfFileInfo インスタンスで UseStrictValidation を呼び出します。
UseStrictValidation(value: bool)この PdfFileInfo インスタンスで UseStrictValidation(value) を呼び出します。
HasCollection() → boolコレクションが存在する場合は true を返します。
InputFile() → std::stringこの PdfFileInfo インスタンスで InputFile を呼び出します。
InputFile(value: std::string)この PdfFileInfo インスタンスで InputFile(value) を呼び出します。
NumberOfPages() → intこの PdfFileInfo インスタンスで NumberOfPages を呼び出します。
PasswordType() → Aspose::Pdf::PasswordTypeこの PdfFileInfo インスタンスで PasswordType を呼び出します。
HasOpenPassword() → boolオープンパスワードが存在する場合は true を返します。
HasEditPassword() → bool編集パスワードが存在する場合は true を返します。

参照

 日本語