Free Support Forum - aspose.com

SetRowHeight limit

Hello

Is there a height limit for SetRowHeight? I tried the following and get an error:

mySheet.Cells.SetRowHeight(5, 500)

"
Specified argument was out of the range of valid values.

STACK TRACE:
at Aspose.Excel.Cells.SetRowHeight(Int32 row, Double height)
"

I’m using aspose.excel version 2.7.2.3

Steve

Yes. You cannot set row height larger than 409. It’s limited by MS Excel. Please test it in MS Excel.

Thanks Laurence

Sorry about that … should’ve checked Excel first