Hi Mahmoud,
Greetings from
Syncfusion support.
By default, Arabic
text is not supported in the default format of the pdf exporting. We can
overcome this issue to enable the complex script while adding Arabic text in
the pdf grid.
Please refer the below code snippet,
|
PdfStringFormat stringFormat = new PdfStringFormat();
stringFormat.ComplexScript = true;
//Assign the string
format to a row.
for (int i = 0; i <
grid.Columns.Count; i++)
{
grid.Rows[2].Cells[i].StringFormat
= stringFormat;
}
|
Please refer the below documentation
Documentaiton: https://help.syncfusion.com/file-formats/pdf/working-with-text#drawing-complex-script-language-text
Regards,
Joseph I.