Hi all,
I'm trying to print some arabic text and it looks ok but the text it's normally aligned and not right to left how should be. I have read on the forum about a label property called RightToLeft but I don't find it anywhere. Please help me with this. Thank you.
RightToLeft property
Re: RightToLeft property
Support · Apr 2, 2009Hello,
Yes, there is a RightToLeft property of the Label page element which you can use to display text from right to left. You can find the Label class at ceTe.DynamicPDF.PageElements.Label. You can refer to the Properties
on our help documentation.
label.RightToLeft = true;
Thanks,
ceTe Software Support Team.
Re: RightToLeft property
Forum member · Apr 2, 2009Hi,
Thanks for reply. Just one more clarification needed. In order to print correctly the arabic text I need this RightToLeft property but from what you told me this can be found only in the DynamicPDF.PageElements which works only with the Generator. My mistake was that I had a template and I tried to get the labels from it in order to set the text but this kind of labels are ReportWriter.PageElements labels which miss this property. And here is the question: this means that I can print arabic text(from right to the left) only with the generator by adding controls from the code? Or do I have an option to align the text properly with a templated based solution too?
Re: RightToLeft property
Support · Apr 2, 2009Hello,
Are you using the ReportWriter product, if so you can add labels with RigthToLeft property without any problem. You will have to add the PlaceHolder report element to the dplx file and then in the LaidOut event of the placeholder you can add a ceTe.DynamicPDF.PageElements.Label object with this property in the place of the placeholder. You can refer to the LaidOut
event on our help documentation.
Thanks,
ceTe Software Support Team.