<!-- Copyright (c) 2021 ActivePDF, Inc. --> <!-- ActivePDF Toolkit 2018 --> <!-- Example generated 03/03/21 --> <% Dim strPath, strAuthor, strTitle, strSubject, _ strKeywords, strProducer, strCreator, strCreateDate, _ strModDate strPath = Server.MapPath(".") & "\" ' Instantiate Object Set oTK = Server.CreateObject("APToolkit.Object") ' Specify the file to retrieve information about oTK.GetPDFInfo strPath & "PDF.pdf" ' Retrieve various information about the PDF strAuthor = oTK.Author strTitle = oTK.Title strSubject = oTK.Subject strKeywords = oTK.Keywords strProducer = oTK.Producer strCreator = oTK.Creator strCreateDate = oTK.CreateDate strModDate = oTK.ModDate ' Close the PDF as it's no longer needed oTK.CloseInputFile ' Release Object Set oTK = Nothing ' Process Complete Response.Write "Done!" %>