Skip to main content
Participant
September 23, 2020
Question

C#.net opened app before close event

  • September 23, 2020
  • 1 reply
  • 446 views

I wrote a winform app that opens a pdf file using Acrobak SDK. basicly this is my app:

 

mApp = new AcroAppClass();
avDoc = new AcroAVDocClass();

String sourceFileStr = @"sample.pdf";

avDoc.Open(sourceFileStr, "");
pdDoc = (CAcroPDDoc)avDoc.GetPDDoc();

mApp.Show();

 

I am trying to catch the event before closing the opened application window or even after close. I couldn't find a way to to so. Any hints please?

This topic has been closed for replies.

1 reply

Legend
September 23, 2020

There are no events for COM programming in Acrobat. You would need to write a C++ plug-in for them.

Dirar0D44Author
Participant
September 26, 2020

Thanks