MemoryStream stream = new MemoryStream();
doc.Save(stream, Aspose.FileFormatType.AsposePdf);
Aspose.Pdf pdf = new Aspose.Pdf();
pdf.IsImagesInXmlDeleteNeeded = true;
pdf.IsTruetypeFontMapCached = false;
pdf.TextInfo.IsFontEmbedded = true;
pdf.TextInfo.IsUnicode = true;
pdf.BindXML(stream, null);
pdf.Save(Path.Combine(WorkingFolder, @"Output\file.pdf"));
I get an error in BindXML method : "Input string format incorrect."
I use 4.4.1 version because our licence can't allow us to have a newer one.
Thanks