'QuestPDF: Changing max number of pages

I'm migrating an existing report from iText to QuestPDF, and I am new to both of the packages.

I'm not finding much help online for questions about QuestPDF in C#. So, here's one:

  • My report is longer than 250 pages, which is the default max. Based on their API, I need to modify DocumentMetadata.DocumentLayoutExceptionThreshold but can't figure out how to do that. Nothing I've tried to change the value is effective. No errors, but the value doesn't change.

Any help would be greatly appreciated! LOTS to learn!

Thanks in advance!

Jim



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source