ScaleOptionsViewModel.ScaleMode Property
Gets or sets the mode for scaling the document.
Namespace: DevExpress.Xpf.Printing.PreviewControl
Assembly: DevExpress.Xpf.Printing.v24.2.dll
NuGet Package: DevExpress.Wpf.Printing
Declaration
Property Value
Type | Description |
---|---|
ScaleMode | A ScaleMode enumeration value. |
Available values:
Name | Description |
---|---|
AdjustToPercent | A document is scaled according to the specified scale factor. |
FitToPageWidth | A document is scaled to fit the specified number of printed pages. |
Remarks
If the ScaleMode property is set to ScaleMode.AdjustToPercent, a document is scaled according to the scale factor specified by the ScaleOptionsViewModel.ScaleFactor option.
If the ScaleMode property is set to ScaleMode.FitToPageWidth, a document is scaled to fit the printed pages, whose number is specified by the ScaleOptionsViewModel.PagesToFit option.