Hi Geetha
I am using Syncfusion.Xamarin.Pdf 20.2.0.50.
As you have mentioned above ,
text.Font = new PdfTrueTypeFont(new Font("Arial", 10f), true); is not supporting .
Can you help me to drow arabic string in my pdf document
We can draw the Arabic text with right-to-left (RTL) format in a PDF document in Xamarin Platform. We have to embed the font files in Xamarin Forms application by setting the build action to embedded resource. Please follow the below steps in your end and let us know if it is suites your requirement or not,
Please find the below screenshot,
|
Note: Please make sure the using font file should supports
the Arabic text or not. We have to use the supported font file to preserve the
text properly.
Please refer the below link for more information,
https://www.syncfusion.com/blogs/post/adding-rtl-support-to-your-pdf-in-xamarin.aspx
https://support.syncfusion.com/kb/article/8560/how-to-draw-unicode-characters-in-a-pdf-in-xamarin
We have attached the simple sample to draw a Arabic and English text for your reference, please try the sample on your end and let us know the result.