WorksheetPageSetup
Configures page setup for worksheet printing and export, including scaling, page breaks, print area, and print titles.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Printing
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class WorksheetPageSetup : SheetPageSetup<WorksheetPrintOptions>
Inheritance: objectSheetPageSetupBaseSheetPageSetup<WorksheetPrintOptions>WorksheetPageSetup
Inherited Members
Properties
Gets or sets whether the printed content is centered horizontally on the page.
public bool CenterHorizontally { get; set; }
The value indicating whether the print content should be centered horizontally.
Gets or sets whether the printed content is centered vertically on the page.
public bool CenterVertically { get; set; }
The value indicating whether the print content should be centered vertically.
Gets or sets whether scaling is determined by FitToPagesWide and FitToPagesTall (when true) or by ScaleFactor (when false).
public bool FitToPages { get; set; }
If true, the worksheet will be scaled according to the FitToPagesWide and FitToPagesTall values. If false, it will be scaled according to the ScaleFactor value.
Gets or sets the number of pages tall the worksheet content will scale to fit when FitToPages is enabled.
public int FitToPagesTall { get; set; }
Gets or sets the number of pages wide the worksheet content will scale to fit when FitToPages is enabled.
public int FitToPagesWide { get; set; }
Gets the page breaks that control where manual horizontal and vertical page boundaries are inserted.
public PageBreaks PageBreaks { get; }
The page breaks.
Gets or sets the page order that determines whether multi-page content is printed down then across or across then down.
public PageOrder PageOrder { get; set; }
The page order.
Gets the print area that defines which cell ranges are printed when exporting or printing.
public PrintArea PrintArea { get; }
The print area.
Gets the print options that control gridline and heading visibility during print or export.
public override WorksheetPrintOptions PrintOptions { get; }
The print options.
Overrides:
Gets the print titles that define rows and columns to repeat on every printed page for improved readability.
public PrintTitles PrintTitles { get; }
ScaleFactor
Size
Gets or sets the scale factor as percentages for width and height, used when FitToPages is false.
public Size ScaleFactor { get; set; }
The scale factor.