ModDate

説明

内部の PDF 変更日付を返します。

注意 : 使用する場合は、GetPDFInfo の後に呼び出す必要があります。

戻り値の型

String

説明

日付は PDF の日付表示フォーマットで保存されます。

構文

value = object.ModDate = value

ModDate プロパティは次のパラメータから構成されています。

パラメータ

説明

Object

Toolkit オブジェクト

備考

FromPDFDate と併用して、値を バリアント (Variant) 型の日付フィールドに変換できます。

strPath = CreateObject("Scripting.FileSystemObject").GetAbsolutePathName(".") & "\"

Set TK = CreateObject("APToolkit.Object")

r = TK.GetPDFInfo("Input.pdf")

'return just the ModDate in a message box

MsgBox TK.ModDate

'use to return the varient date and the ModDate in a message box

'MsgBox TK.FromPDFDate(TK.ModDate())

'use to return the varient date and the ModDate in separate message boxes

'MsgBox TK.ModDate() & vbCrLf & TK.FromPDFDate(TK.ModDate()) two message boxes

r = TK.CloseInputFile()

Set TK = Nothing