DrawToWeb() to a new browser window

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v10)  /  DrawToWeb() to a new browser window

DynamicPDF CoreSuite for .NET (v10) Forum

 May 06 2020 10:16 AM
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)).

Posted by a ceTe Software moderator
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

All times are US Eastern Standard time. The time now is 10:25 AM.