Get Path of PDF Opened in Acrobat DC Pro
I just wish to retrieve the path of PDF document opened in Acrobat DC Pro, and save paths to my database in c#,
I able to get active pdf document in c# but unable to retrieve path of the document,
Type PDFType = Type.GetTypeFromProgID("AcroExch.App");
CAcroApp AcroAppObj = Activator.CreateInstance(PDFType) as CAcroApp;
CAcroAVDoc AvDocObj = AcroAppObj.GetActiveDoc() as CAcroAVDoc;
CAcroPDDoc PdDocObj = AvDocObj.GetPDDoc() as CAcroPDDoc;
But not getting path of of that document, is there any other way to achieve this?
Help will be much appreciated ![]()
