GetDocumentInfo メソッド

PDF ファイルから文書の情報を取得する。

Sub GetDocumentInfo(InputFileName As String,
                    [Password],
                    [Title],
                    [Author],
                    [Subject],
                    [Keywords],
                    [Creator],
                    [Producer])

パラメータ

戻り値

なし

注意点

なし

使用例


Set oProcessor = CreateObject("easyPDF.PDFProcessor.7")

 

oProcessor.GetDocumentInfo"C:\input.pdf", _

                           Title:=sTitle, _

                           Author:=sAuthor, _

                           Subject:=sSubject, _

                           Keywords:=sKeywords, _

                           Creator:=sCreator, _

                           Producer:=sProducer

 

MsgBox "Title: " + sTitle + vbLf + _

       "Author: " + sAuthor + vbLf + _

       "Subject: " + sSubject + vbLf + _

       "Keywords: " + sKeywords + vbLf + _

       "Creator: " + sCreator + vbLf + _

       "Producer:" + sProducer