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.
Unfortunately, activation email could not send to your email. Please try again.

DocIO set HorizontalAlignment to Right

Thread ID:





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


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 08:45 AM

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 09:33 AM

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.

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.