.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

WorksheetPrintOptions.FitToHeight Property

Gets or sets the number of pages by height in which the worksheet shall fit when printed.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

int FitToHeight { get; set; }
Property FitToHeight As Integer
int FitToHeight { get; set; }
Property FitToHeight As Integer
int FitToHeight { get; set; }
Property FitToHeight As Integer

Property Value

Type Description
Int32

A positive integer value that specifies a number of pages in which the worksheet will fit.

Property Value

Type Description
Int32

A positive integer value that specifies a number of pages in which the worksheet will fit.

Property Value

Type Description
Int32

A positive integer value that specifies a number of pages in which the worksheet will fit.

Remarks

To scale the content to fit on a specific number of pages by height, set the WorksheetPrintOptions.FitToPage property to true and specify the desired number of pages in the FitToHeight property.

See Also