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

Text Rotation

Thread ID:





43752 May 2,2006 03:54 PM UTC Nov 15,2006 05:29 PM UTC ASP.NET Web Forms (Classic) 2
Tags: XlsIO
Asked On May 2, 2006 03:54 PM UTC

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!

Replied On May 2, 2006 03:59 PM UTC

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 05:29 PM UTC


With regards,


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