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.

Text Rotation

Thread ID:

Created:

Updated:

Platform:

Replies:

43752 May 2,2006 11:54 AM Nov 15,2006 12:29 PM ASP.NET Web Forms (Classic) 2
loading
Tags: XlsIO
Brian
Asked On May 2, 2006 11:54 AM

I''m trying to rotate text in a cell 45 degrees. Here is my code: IRange range = _CurrentWorksheet.Range["A5:O5"]; range.CellStyle.Rotation = 45; As soon as I hit the line of code setting the rotation to 45 degrees, I get an ArgumentOutOfRangeException: "Specified argument was out of the range of valid values.\r\nParameter name: Indent" Any ideas? Thanks!

Brian
Replied On May 2, 2006 11:59 AM

Ah ha. I just figured it out. Apparently you cannot set it on a range of cells. If I do the cells individually it works!

Chella Pandian B [Syncfusion]
Replied On November 15, 2006 12:29 PM

Thanks

With regards,
Chella


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.

;