A newer version of this page is available. Switch to the current version.

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.v18.2.Core.dll

Declaration

[DefaultValue(false)]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool FitToPrintedPageHeight { get; set; }
<DefaultValue(False)>
<TypeConverter(GetType(BooleanTypeConverter))>
<XtraSerializableProperty>
Public Property FitToPrintedPageHeight As Boolean

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:

Show 20 property paths
Library Object Type Path to FitToPrintedPageHeight
Cross-Platform Class Library RemotePrintingSystem
.ExportOptions.Xlsx.FitToPrintedPageHeight
RemotePrintingSystem
.ExportOptions.Xls.FitToPrintedPageHeight
ExportOptions
.Xlsx.FitToPrintedPageHeight
ExportOptions
.Xls.FitToPrintedPageHeight
PrintingSystemBase
.ExportOptions.Xlsx.FitToPrintedPageHeight
PrintingSystemBase
.ExportOptions.Xls.FitToPrintedPageHeight
WinForms Controls PrintingSystem
.ExportOptions.Xlsx.FitToPrintedPageHeight
PrintingSystem
.ExportOptions.Xls.FitToPrintedPageHeight
XtraSchedulerReport
.ExportOptions.Xlsx.FitToPrintedPageHeight
XtraSchedulerReport
.ExportOptions.Xls.FitToPrintedPageHeight
WPF Controls ExportOptionsContainer
.Xlsx.FitToPrintedPageHeight
ExportOptionsContainer
.Xls.FitToPrintedPageHeight
PrintingSystem
.ExportOptions.Xlsx.FitToPrintedPageHeight
PrintingSystem
.ExportOptions.Xlsx.FitToPrintedPageHeight
PrintingSystem
.ExportOptions.Xls.FitToPrintedPageHeight
PrintingSystem
.ExportOptions.Xls.FitToPrintedPageHeight
Reporting XtraReport
.ExportOptions.Xlsx.FitToPrintedPageHeight
XtraReport
.ExportOptions.Xls.FitToPrintedPageHeight
DocumentOperationRequest
.ExportOptions.Xlsx.FitToPrintedPageHeight
DocumentOperationRequest
.ExportOptions.Xls.FitToPrintedPageHeight

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.

See Also