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

XlExportOptionsBase.FitToPrintedPageWidth Property

Gets or sets whether the output document should be fit to the page width when printed.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

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

Property Value

Type Default Description
Boolean

false

true, if the output document should be fit to the printed page width.

Property Paths

You can access this nested property as listed below:

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

Remarks

This property enables the "Fit All Columns on One Page" option available in the Print dialog of an Excel document.

When both the FitToPrintedPageWidth and XlExportOptionsBase.FitToPrintedPageHeight properties are set to true, this enables the "Fit Sheet on One Page" option in the Print dialog of an Excel document.

See Also