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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DocIO set HorizontalAlignment to Right

Thread ID:





107420 Feb 28,2013 02:31 PM UTC Mar 1,2013 02:33 PM UTC ASP.NET Web Forms (Classic) 2
Tags: DocIO
Matthias Max
Asked On February 28, 2013 02:31 PM UTC


I tried to set the HorizontalAlignment Property to right of a table cell. But It seens always to be left. I have table with 3 column and I want HorizontalAlignment of the 3rd column should be right, because it contains numeric data.

p.p. Mathias Max

Siva Subramanian [Syncfusion]
Replied On March 1, 2013 01:45 PM UTC

Hi Mathias,

Thank you for your interest in Syncfusion Products.

Using Below code snippet you can change the paragraph alignment inside a table cell to right

table.Rows[0].Cells[2].Paragraphs[0].ParagraphFormat.HorizontalAlignment = HorizontalAlignment.Right;


We have created a simple sample to illustrate your requirement. Kindly download the sample from the attachment and let us know if this meets your requirement.

Please let us know if you have any questions.




Matthias Max
Replied On March 1, 2013 02:33 PM UTC

Hi Sivasubramanian,

Thats it. Thank you for the sample code. 

p.p. Mathias Max


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon