We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Horiz. Alignment of Text in a Table Cell?

It seems that when I specify the Horizontal Alignment to HorizonatalAlignment.Right for a Paragraph that is in a Table Cell, that just makes the paragraph left-justified but on the right side of the cell. How can I get true right-alignment here?

2 Replies

DK Dhivya K Syncfusion Team July 31, 2006 02:34 PM UTC

Hi Scott,

I was able to reproduce the problem. I have created a bug report regarding this and you can track the status of this issue from the following link.

http://www.syncfusion.com/support/issues/pdf/Default.aspx?ToDo=view&questId=2478

Please let me know if you have any other queries.

Regards,
Dhivya.K


DK Dhivya K Syncfusion Team September 4, 2006 09:17 AM UTC

Hi Scott,

Sorry for the delay in getting back to you. I have tested this issue with some long text and could find it to be working fine. I compared the text in the PDF table cell with MSWord table cell.There is no difference in the alignment. It seems to be the behaviour of the right alignment in table cells.

Here is a screen shot for your reference.
rightalign.gif

It can be noticed from the screen shot, that the text in the cells are right aligned and they do not adjust the space between the words as in case of "left justify".

Here is a sample for your reference.
textalignment.zip

Please take a look into it and let me know if you have any other queries.

Regards,
Dhivya.

Loader.
Live Chat Icon For mobile
Up arrow icon