Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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