Hi guys, Ive been working with AsposeWord and Pdf, to convert the documents, but Ive found that when doing it Im unable to get Charts in the output pdf file.
I saw this article:
https://docs.aspose.com/cells/net/convert-excel-workbook-to-pdf/
Followed recommendation to save to disk instead of a stream but still got the same behavior charts wouldnt be recognized.
Im attaching a sample note that replicated the issue (Im using trial version now, while I prototype for my client, but going through several test cases to make sure your libraries will satisfy our needs).
Here’s a sample of .Net C# Code that replicates the issue:
private void test()
{
// Create a New Doc object
Document doc = new Document(@"c:\testNote.docx");
// Save the document in Aspose.Pdf.Xml format
doc.Save(@"c:\man.xml", SaveFormat.AsposePdf);
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
// Enable the caching of True type font map on disk
pdf.IsTruetypeFontMapCached = true;
// Set the path of True type font map file
pdf.TruetypeFontMapPath = System.IO.Path.GetTempPath();
// Load the XML document into Aspose.Pdf
pdf.BindXML(@"c:\man.xml", null);
// Now produce the PDF file.
pdf.Save(@"C:\output.pdf");
}
Is there a fix or a workaround for this issue?
thanks.