Unplanned
Last Updated: 05 Jan 2023 13:49 by Eljay
Eljay
Created on: 05 Jan 2023 13:49
Category: SpreadProcessing
Type: Bug Report
0
SpreadProcessing: Page is incorrectly split on export to pdf when the last column contains long text aligned to the right

When a worksheet contains a cell with longer text, which is right aligned and this text happens to be in the last column of the page, the worksheet is incorrectly split into pages and the last column gets transferred on the next page.

Workaround: Set explicitly the print area you would like to print.

worksheet.WorksheetPageSetup.PrintArea.SetPrintArea(new CellRange(0, 0, 38, 14));

0 comments