Unplanned
Last Updated: 21 Aug 2018 14:11 by ADMIN
ADMIN
Anna
Created on: 21 Aug 2018 14:08
Category: Spreadsheet
Type: Feature Request
1
RadSpreadsheet: Expose method of PrintPreviewControl to refresh its content
The PrintPreviewControl refreshes its preview content on change in the SheetPageSetup object. This method would allow on-demand update.

At the moment this can be achieved by changing something in the page setup and restoring it. 

bool printGridlines = this.spreadsheet.Workbook.ActiveWorksheet.WorksheetPageSetup.PrintOptions.PrintGridlines;
this.spreadsheet.Workbook.ActiveWorksheet.WorksheetPageSetup.PrintOptions.PrintGridlines = !printGridlines;
this.spreadsheet.Workbook.ActiveWorksheet.WorksheetPageSetup.PrintOptions.PrintGridlines = printGridlines;
0 comments