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


public abstract int AutoFitToPagesWidth { get; set; }

Property Value

Type Description

An integer value, specifying the number of pages.


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.

See Also