Page 1 of 1
use dll for detect language for textbox and change direction
Posted: Mon Jul 31, 2017 2:41 am
by moh2000
hi
i want use "DialogueMaster.Babel.dll" inside report to detect a cell language and change direction of that cell to 'right to left' if required
is it possible?
thanks
Re: use dll for detect language for textbox and change direc
Posted: Mon Jul 31, 2017 5:59 pm
by HighAley
Hello.
You could add the assembly to the Reference Assemblies of the report and use it in the report.
Thank you.
Re: use dll for detect language for textbox and change direc
Posted: Mon Jul 31, 2017 6:54 pm
by moh2000
tnx
i know how to add reference to report but i don't know how to use it .
could you please guide mo to right direction?
Re: use dll for detect language for textbox and change direc
Posted: Mon Jul 31, 2017 11:01 pm
by Edward
Hi Moh2000,
Please check the video on using the function from the Referenced Assemblies.
https://www.youtube.com/watch?v=TEYuQmia9IY
The textbox has got the RightToLeft property:
https://www.stimulsoft.com/en/documenta ... ponent.htm
And you can set this property depending on the language for the text component (DataMySQLSource_CategoryName) in the BeginRender event handler of the report component as follows:
DataMySQLSource_CategoryName.RightToLeft = false;

- DynamicRightToLeft.PNG (75.45 KiB) Viewed 1878 times
Thank you,
Edward