The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

WorksheetPrintOptions.FitToWidth Property

Gets or sets the number of pages in width to which the worksheet must fit when printed.

Namespace: DevExpress.Spreadsheet

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

Declaration

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

Property Value

Type Description
Int32

A positive integer value that specifies the number of horizontal pages to which the worksheet must fit.

Property Value

Type Description
Int32

A positive integer value that specifies the number of horizontal pages to which the worksheet must fit.

Property Value

Type Description
Int32

A positive integer value that specifies the number of horizontal pages to which the worksheet must fit.

Remarks

To scale the content to fit on a specific number of pages, set the WorksheetPrintOptions.FitToPage property to true and specify the desired number of pages (in width) from the FitToWidth property.

See Also