85
Cell Text - Right To Left (RTL)
posted

Hi,

I'm writing a code for creating a PDF file, using Infragistics.Documents.

I would like to know if there's a way to control the direction of the text placed in a cell?

When using hebrew (right to left language) characters in combination with digits, the digits appear backwards. (In html we use: direction:rtl; to "fix" this)

 Dim table3CellText2 As IText = tableCell.AddText()
table3CellText2.Alignment = New TextAlignment(Alignment.Center, Alignment.Middle)
table3CellText2.AddContent(
"‰‘‰… 123", _NON_Bold_Field)

What happens is when the pdf is exported, 123 becomes 321 (reading right to left).

Thanks!