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:

Created:

Updated:

Platform:

Replies:

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

Hi,

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.

regards
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.

Regards,

Sivasubramanian.



GenerateWord_Web_30999a16.zip

Matthias Max
Replied On March 1, 2013 09:33 AM

Hi Sivasubramanian,

Thats it. Thank you for the sample code. 

regards
p.p. Mathias Max

CONFIRMATION

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.

;