i am having excel generate a graph for me based on the data in a worksheet in my template, i change the data for different reports so the excel changes the graph for me, when i convert the excel to pdf using the below code, the graphs dont get carried forward in my pdf report, may i know how can i do this? thanks.
dim licpdf as aspose.pdf.licensedim pdf1 as aspose.pdf.pdf = new aspose.pdf.pdf
dim mstreamxml as system.io.memorystream, i as int16licpdf = new aspose.pdf.licenselicpdf.setlicense(server.mappath(
"bin\aspose.custom (excel, excel web, chart, pdf).lic"))pdf1.istruetypefontmapcached = false
mstreamxml = new system.io.memorystream'save the document in aspose.pdf.xml format.
lexcreport.save(mstreamxml, aspose.excel.fileformattype.asposepdf)
pdf1.bindxml(mstreamxml, nothing) for i = 0 to pdf1.sections.count - 1pdf1.sections(i).islandscape = true
next
pdf1.save("debraadams.pdf", aspose.pdf.savetype.openinacrobat, response)
This message was posted using Aspose.Live 2 Forum