ClassWorksheetPageSetup
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
CenterHorizontally
Gets or sets whether the printed content is centered horizontally on the page.
Declaration
public bool CenterHorizontally { get; set; }
Property Value
The value indicating whether the print content should be centered horizontally.
CenterVertically
Gets or sets whether the printed content is centered vertically on the page.
Declaration
public bool CenterVertically { get; set; }
Property Value
The value indicating whether the print content should be centered vertically.
FitToPages
Gets or sets whether scaling is determined by FitToPagesWide and FitToPagesTall (when true) or by ScaleFactor (when false).
Declaration
public bool FitToPages { get; set; }
Property Value
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.
FitToPagesTall
Gets or sets the number of pages tall the worksheet content will scale to fit when FitToPages is enabled.
FitToPagesWide
Gets or sets the number of pages wide the worksheet content will scale to fit when FitToPages is enabled.
PageBreaks
Gets the page breaks that control where manual horizontal and vertical page boundaries are inserted.
Declaration
public PageBreaks PageBreaks { get; }
Property Value
The page breaks.
PageOrder
Gets or sets the page order that determines whether multi-page content is printed down then across or across then down.
Declaration
public PageOrder PageOrder { get; set; }
Property Value
The page order.
PrintArea
Gets the print area that defines which cell ranges are printed when exporting or printing.
Declaration
public PrintArea PrintArea { get; }
Property Value
The print area.
PrintOptions
Gets the print options that control gridline and heading visibility during print or export.
Declaration
public override WorksheetPrintOptions PrintOptions { get; }
Property Value
The print options.
Overrides
PrintTitles
Gets the print titles that define rows and columns to repeat on every printed page for improved readability.
ScaleFactor
Gets or sets the scale factor as percentages for width and height, used when FitToPages is false.
Declaration
public Size ScaleFactor { get; set; }
Property Value
The scale factor.