.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

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.1.Core.dll


int FitToWidth { get; set; }

Property Value

Type Description

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

Property Paths

You can access this nested property as listed below:

Object Type Path to FitToWidth


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