Skip to main content

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

public ScaleMode ScaleMode { get; set; }

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.

See Also