<!-- Copyright (c) 2021 ActivePDF, Inc. --> <!-- ActivePDF Toolkit 2018 --> <!-- Example generated 03/07/21 --> <!-- Example uses the .NET DLL which requires --> <!-- Coldfusion 8 or above --> <CFSCRIPT> // Get current path strPath = ExpandPath(".") & "\"; // Instantiate Object oTK = CreateObject(".NET", "APToolkitNET.Toolkit", "C:\Program Files\activePDF\Toolkit\DotNetComponent\2.0\APToolkitNET.dll"); // Specify the file to retrieve information about oTK.GetPDFInfo(strPath & "PDF.pdf"); // Retrieve various information about the PDF strAuthor = oTK.Get_Author(); strTitle = oTK.Get_Title(); strSubject = oTK.Get_Subject(); strKeywords = oTK.Get_Keywords(); strProducer = oTK.Get_Producer(); strCreator = oTK.Get_Creator(); strCreateDate = oTK.Get_CreateDate(); strModDate = oTK.Get_ModDate(); // Close the PDF as it's no longer needed oTK.CloseInputFile(); // Release Object oTK = 0; // Process Complete WriteOutput("Done!"); </CFSCRIPT>