ERROR MESSAGE : Aspose.Cells.CellsException: Image dimensions (width=56972 height=179427) are too large. If you have enabled OnePagePerSheet, please disable it.
how to solved this
// === Remove margins ===
worksheet.Pa…...imageOptions); // Save the first page (index 0) as PNG image sheetRender...generated based on the actual page size settings of the worksheet...