|126996||Oct 20,2016 10:49 AM UTC||Nov 7,2016 12:38 PM UTC||WPF||9|
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
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.