Dim converter As New ExcelToPdfConverter(strAppPathUpdate)
Dim pdfDoc As New PdfDocument
Dim settings As New ExcelToPdfConverterSettings()
settings.LayoutOptions = LayoutOptions.FitSheetOnOnePage
settings.TemplateDocument = pdfDoc
settings.DisplayGridLines = GridLinesDisplayStyle.Invisible
pdfDoc = converter.Convert(settings)
instead of save, is any code to show the pdf in the viewer.
because, if the user clicks the generate button second time (wihout closing the first time generated pdf file),
system throws exception.
Thanks & Regards
This sample illustrates Essential XlsIO's and Essential PDF's support for conversion from MS Excel document to PDF document.
I'm using the same code in my application, instead of saving the pdf file need to change the logic to generating the PDF through PdfViewer by saving the pdf as stream and viewing.
Is there any sample which supports VS2010 and 3.5 .net framework