Page 1 of 1

Open after export

Posted: Tue Jun 29, 2010 11:34 am
by Mpanal
On export to PDF settings dialog box there is a check for open after export.

If I set the export options by program I don't see the dialog ( This is good) but I can't set the open after export option.

How I can open a pdf after export?

Thank you

Open after export

Posted: Tue Jun 29, 2010 3:10 pm
by Jan
Hello,

You can use following code:

Code: Select all

System.Diagnostics.Process.Start(string.Format("\"{0}\"", fileName));
Thank you.