Hello Deasun,
Thank you for reporting this.
After testing the described scenario I was able to receive the same exception when there is a row with RowHeight > 600. This is why I have logged it in our Feedback portal by creating a public thread on your behalf. You can track its progress, subscribe for status changes, and add your comments on the following link: feedback item.
I have updated your Telerik Points.
To workaround the issue you can create a custom SpreadExportRenderer and override its SetWorksheetRowHeight method:
class MySpreadExportRenderer : SpreadExportRenderer
{
public override void SetWorksheetRowHeight(int rowIndex, int rowHeight, bool isCustom)
{
if (rowHeight > SpreadsheetDefaultValues.MaxRowHeight)
{
rowHeight = (int)SpreadsheetDefaultValues.MaxRowHeight;
}
base.SetWorksheetRowHeight(rowIndex, rowHeight, isCustom);
}
}
I hope this helps. Do not hesitate to contact me if you have other questions.
Regards,
Nadya
Progress Telerik
Progress is here for your business, like always.
Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.