I'm using the method printWithDialog()
from the AxAcroPdf
control in C# which seems to return void.
When a document is printed I want to store a record of it, but I can't work out how to find out whether the user pressed Cancel or OK on the print dialog, so documents are being recorded even if the user changes their mind about printing (before the user pressed any button in fact).
Is it possible to find out whether the document was actually printed or not?
If not, can I set the printer for the AxAcroPdf
control first, then just call the printAll()
method to get around this issue?