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.v20.2.Core.dll
NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.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.
The AutoFitToPagesWidth property is ignored when the MultiColumn.Layout property is set to ColumnLayout.DownThenAcross.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoFitToPagesWidth property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.