Document.AutoFitToPagesWidth Property
Specifies the number of virtual pages to fit into one physical page, so their total width is the same as the width of a physical page.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v26.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Int32 | An integer value, specifying the number of pages. |
Remarks
Use this property to scale a document to best fit a required number of virtual pages into one physical page by their width.
Use the Document.ScaleFactor property to specify a custom scale factor (measured in fractions of 1). In this case, the AutoFitToPagesWidth property must be set to 0.
Limitations
The AutoFitToPagesWidth property is ignored when the MultiColumn.Layout property is set to ColumnLayout.DownThenAcross.
The AutoFitToPagesWidth property has no effect for the TopMarginBand and BottomMarginBand because report margin bands do not scale.