Hi,
I am trying to convert a Word document that has Heberw text and English text in it to PDF.
The result is a PDF document with all the text in "Mirror writing".
The code to convert the Word document to PDF is this:
Aspose.Words.Document doc = new Aspose.Words.Document(@"1.docx");
doc.Save(@"1.xml", Aspose.Words.SaveFormat.AsposePdf);
Convert2Pdf(@"1.xml", @"1.pdf");
private void Convert2Pdf(string source, string destination)
{
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
pdf.BindXML(source, null);
pdf.IsImagesInXmlDeleteNeeded = true;
pdf.IsRightToLeft = true;
pdf.Save(destination);
File.Delete(source);
}
I have attch both the Word document and the PDF result file.
Please Help.