Hi Ajish,
Thank You for your sample, I ran your sample with herbew language and every thing was working but when tried to render an arabic text,letters were seperated in pdf file (as you may know in arabic letters may not be rendered seperataly unlike herbew and english):
عربی متن correct form
ع ر ب ی م ت ن
is there a soloution to this problem?
Thank You,
Mahdad
>Hi Mahdad,
>
>Sorry for the confusion in my previous response. Right To Left direction support using IPDFGraphicState was not a bug and it works fone.
Here is a sample for you to refer.
>
>Please let me know if you have any other questions
>
>Thanks,
>Ajish.
>
>
>>Hi Mahdad,
>>
>>In Essential PDF setting the RightToLeft property of graphics state to true will set RTL text mode. Following code shows how to set this property and use it to draw a multi line text into pdf document,
>>
>>
>>IPDFGraphicState props = doc.CreateGraphicState();
>>props.RightToLeft = true;
>>doc.LastPage.Graphics.DrawMultiText(10,10,240,190, sourceTextRTL, font, props);
>>
>>
>>
Here is a sample for your reference.
>>
>>Please let me know if you have any other questions.
>>
>>Thanks,
>>Ajish.
>>
>>
>>>Hi,
>>>
>>>I wanted to check if IPDFGraphicState bug is fixed?
>>>
>>>Regards,
>>>
>>>Mahdad
>>>
>>>>Hi,
>>>>
>>>>Sorry for the delay in getting back to you.
>>>>
>>>>We do have an option to render Text in Right To Left direction using the IPDFGraphicState setting in the DrawText method. Currently there is a bug in implementation and I have notified the development team regarding this and it would be fixed soon.
>>>>
>>>>Please let me know if you have any other questions.
>>>>
>>>>Thanks,
>>>>Ajish.
>>>>
>>>>