DrawToWeb() to a new browser window

DrawToWeb() to a new browser window

Forum member · May 6, 2020
Is there a way to have the DrawToWeb() method send the bytes to a new browser window instead of the current one? We see that most of our users don't realize that, once the PDF is rendered to the page/browser window, that they would need to use the "Back" button, most of the time they just close the window (as if they were closing a document in Reader or any other application where you view "documents" (as opposed to web pages)).

Re: DrawToWeb() to a new browser window

Support · May 6, 2020
Hello, You would need to open the new window first using HTML or JavaScript, then call the DrawToWeb method from the code in that window. There isn't a way to target it directly from our API. Thanks, ceTe Software Support Team