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

WorksheetPrintOptions.FitToPage Property

Indicates whether the worksheet content is scaled to fit to a specific number of pages.

Namespace: DevExpress.Spreadsheet

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

Declaration

bool FitToPage { get; set; }
Property FitToPage As Boolean
bool FitToPage { get; set; }
Property FitToPage As Boolean
bool FitToPage { get; set; }
Property FitToPage As Boolean

Property Value

Type Description
Boolean

true, if the FitToPage print option is enabled; otherwise, false.

Property Value

Type Description
Boolean

true, if the FitToPage print option is enabled; otherwise, false.

Property Value

Type Description
Boolean

true, if the FitToPage print option is enabled; otherwise, false.

Remarks

To scale the content to fit to a specific number of pages, set the FitToPage property to true and specify the desired number of pages by width (WorksheetPrintOptions.FitToWidth property) or by height (the WorksheetPrintOptions.FitToHeight property).

See Also