I have observed your comments. I have shared a piece of code in a text file with you. This will help you to achieve your requirements. Also please visit this SaveFileDialog article. Please share feedback with us if there is still an issue.
Could you please share the piece of code in this regard on how to show the save dialog to the user while downloading the newly created ppt from web app (pres.Save).
I have got unfortunately the following error while give a click to the dropbox link.
You can share the piece of code here only if you think it is suitable. Thanks.
Error (429) This link is temporarily disabled. The person who shared it hit their daily limit of traffic or downloads. Learn about traffic limits.
Please try using following sample code on your end.
SaveFileDialog mySaveFileDialog = new SaveFileDialog();
mySaveFileDialog.Filter = "PPTX Files|*.pptx"; // optional filter to restrict file types
if (mySaveFileDialog.ShowDialog() == DialogResult.OK)
{
string selectedFileName = mySaveFileDialog.FileName;
// do whatever you like with the selected filename
pres.Save(selectedFileName, Aspose.Slides.Export.SaveFormat.Pptx);
}
I have observed your requirements and like to share that you can export to HttpReponse when saving presentation in a web application. Please visit this API reference page link for your kind reference in this regard.