Open PDF from DrawToWeb() In A New Window?

Open PDF from DrawToWeb() In A New Window?

Forum member · Jun 3, 2010
I'm using PDFDocument.DrawToWeb("Filename.pdf") to display the PDF after all of the AcroForm fields are filled with the proper data, but was wanting to have the new PDF open in a new window. Is this possible without some kind of weird workaround?

Re: Open PDF from DrawToWeb() In A New Window?

Support · Jun 3, 2010
Hello, You can open the output PDF in a new window by setting the target attribute of the form tag to _blank. You can refer to the SelectPages example which opens the PDF in a new window. Thanks, ceTe Software Support Team.