We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problam with right to left language!

I use following codes to make word document,

Document doc = new Document();

DocumentBuilder builder = new DocumentBuilder(doc);

builder.Font.Name = "B Mitra";

builder.Font.Size = 30;

builder.StartTable();

builder.InsertCell();

builder.Write("شرکت تعاونی تولیدی عصر نو");

builder.EndRow();

builder.EndTable();

doc.Save("test.doc");

but result is like this : نو عصر تولیدی تعاونی شرکت

how can i fix it ?

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. You should set Bidi property. Please see the following link for more information.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.font.bidi.html

Best regards.