XlExportOptionsBase.FitToPrintedPageHeight Property
Gets or sets whether the output document should be fit to the page height when printed.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v20.2.Core.dll
NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true, to fit the output document to the printed page height; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to FitToPrintedPageHeight |
---|---|---|
Cross-Platform Class Library | ExportOptions |
|
WPF Controls | ExportOptionsContainer |
|
Remarks
This property enables the “Fit All Rows on One Page“ option available in the Print dialog of an Excel document.
When both the FitToPrintedPageHeight and XlExportOptionsBase.FitToPrintedPageWidth properties are set to true, this enables the “Fit Sheet on One Page“ option in the Print dialog of an Excel document.