Display "Save As" dialog box

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v10)  /  Display "Save As" dialog box

DynamicPDF CoreSuite for .NET (v10) Forum

 Nov 20 2019 3:49 AM
I should make sure that when it generates the pdf, a window will be shown to choose the file name and where to save it, in simple terms a simple "Save As". I searched the documentation, but I can't find any references.
 Nov 20 2019 12:37 PM
Posted by a ceTe Software moderator

Hello,

If you are using our DynamicPDF product in web application then you can try using DrawToWeb overload which takes file name and forcedownload as Boolean. This will open a dialog to save the generated PDF. You can refer to the documentation on document output
here. Also below is the code sample.

//To open a dialog to save the generated PDF.        
  document.DrawToWeb("MyDocument.pdf", true);

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 11:55 PM.