New to Telerik Document ProcessingStart a free 30-day trial

Configures page setup for worksheet printing and export, including scaling, page breaks, print area, and print titles.

Definition

Properties

Gets or sets whether the printed content is centered horizontally on the page.

C#
public bool CenterHorizontally { get; set; }
Property Value:

The value indicating whether the print content should be centered horizontally.

Gets or sets whether the printed content is centered vertically on the page.

C#
public bool CenterVertically { get; set; }
Property Value:

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).

C#
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.

Gets or sets the number of pages tall the worksheet content will scale to fit when FitToPages is enabled.

C#
public int FitToPagesTall { get; set; }

Gets or sets the number of pages wide the worksheet content will scale to fit when FitToPages is enabled.

C#
public int FitToPagesWide { get; set; }

Gets the page breaks that control where manual horizontal and vertical page boundaries are inserted.

C#
public PageBreaks PageBreaks { get; }
Property Value:

The page breaks.

Gets or sets the page order that determines whether multi-page content is printed down then across or across then down.

C#
public PageOrder PageOrder { get; set; }
Property Value:

The page order.

Gets the print area that defines which cell ranges are printed when exporting or printing.

C#
public PrintArea PrintArea { get; }
Property Value:

The print area.

Gets the print options that control gridline and heading visibility during print or export.

C#
public override WorksheetPrintOptions PrintOptions { get; }
Property Value:

The print options.

Overrides: SheetPageSetup<WorksheetPrintOptions>.PrintOptions

Gets the print titles that define rows and columns to repeat on every printed page for improved readability.

C#
public PrintTitles PrintTitles { get; }

Gets or sets the scale factor as percentages for width and height, used when FitToPages is false.

C#
public Size ScaleFactor { get; set; }
Property Value:

The scale factor.