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:

Created:

Updated:

Platform:

Replies:

43752 May 2,2006 03:54 PM UTC Nov 15,2006 05:29 PM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: XlsIO
Brian
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!

Brian
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

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.

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

;