Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

I

More
IP: 104.237.226.135 6 years 2 months ago - 4 years 5 months ago #14825 by AABBDD
I was created by AABBDD
H
Last edit: 4 years 5 months ago by AABBDD.
More
IP: 37.183.44.177 6 years 2 months ago #14826 by nermeen
Dear User,

For RtoL languages (Arabic, Persian,...), you need to set Global.selRTOL = true before calling Page.ObjsStart()
This should fix the reversed text issue.
More
IP: 104.237.226.135 6 years 2 months ago - 4 years 5 months ago #14829 by AABBDD
Replied by AABBDD on topic I
v
Last edit: 4 years 5 months ago by AABBDD.
More
IP: 37.183.44.177 6 years 2 months ago - 6 years 2 months ago #14840 by nermeen
There is no direct method, what you can do is, you can get chars unicode value and check if they are included into RtoL unicode blocks (for example: en.wikipedia.org/wiki/Arabic_script_in_Unicode )

To get the char's unicode value:
Code:
... page.ReflowStart(m_layout.vGetWidth(), 1, true) if(page.ReflowGetParaCount() > 0) { ... page.ReflowGetCharUnicode(iparagraph, ichar) } ...
Note the unicode value is returned in decimal representation, so you need to convert it to hex.
Last edit: 6 years 2 months ago by nermeen.
Time to create page: 0.398 seconds
Powered by Kunena Forum