We recently upgraded from v23.1.3 to v24.1.0.
Using ShowPrintPreviewDialog() works fine in v23.1.3. With no code changes, we only see a few characters in the print preview when using v24.1.0
When printing the v24.1 document to PDF, the PDF file is filled with white-space where text should be. The few characters that show up in PrintPreview are printed. Only about 5% of the text is showing up in the print preview and/or the actual printed file.
As mentioned, same code works great when using v23.1.3 libraries.
Ian