Hi,
I’m developing a web application using Blazor server (.net core) with an old version of Aspose Word (14.3). I need to save a Word document in PDF format and immediately download it (download PDF file).
In ASP.NET I used this “statements” to achieve my purpose:
Dim resp = System.Web.HttpContext.Current.Response
oDoc.Save(resp, "Test.Pdf", Aspose.Words.ContentDisposition.Attachment, Aspose.Words.Saving.SaveOptions.CreateSaveOptions(Aspose.Words.SaveFormat.Pdf))
resp.End()
Is there something in Blazor environment?
Best
Stefano