Hi
I need to convert xml word documents to PDF and in that process I use Aspose.pdf and Aspose.Words. I’ve found that the result from using
MemoryStream PDFStream = new MemoryStream();
doc.Save(PDFStream, SaveFormat.Pdf );
and
MemoryStream xmlDoc = new MemoryStream();
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
doc.Save(xmlDoc, SaveFormat.AsposePdf );
// automatisk oprydning af billed filer
pdf.IsImagesInXmlDeleteNeeded = true;
//bind xml til PDF format
pdf.BindXML(xmlDoc, null);
// pdf.CompressionLevel = 0;
pdf.Save("test.pdf");
results in 2 different looking PDF files, and none of the 2 matches the original word document in layout fontsize linespazing etc.
Am I missing properties or others ?
I’m using Aspose.words 6.2.0.0 and Aspose.pdf 3.9.0.0
I’ve attached the original xml documents and the 2. resulting pdf files.