How to overcome Parameter Not valid exception?

4 Aug 20211 minute to read

ParameterNotValid exception occurs while trying to convert Excel document to PDF with large CustomPaperSize. Syncfusion XlsIO cannot handle such large values. Also, the values are considered in inches. Using height and width below 200 would resolve the issue.