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

MapPrintOptions.SizeMode Property

Gets or sets a value which specifies the size mode used to print the map.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

#Declaration

public MapPrintSizeMode SizeMode { get; set; }

#Property Value

Type Description
MapPrintSizeMode

A MapPrintSizeMode enumeration value, which specifies the size mode used to print the map.

Available values:

Name Description
Normal

A map is printed in the identical size it appears on the form.

MapPrintSizeMode_Zoom

Zoom

A map is resized proportionally (without clipping), so that it best fits the page on which it is printed.

MapPrintSizeMode_Zoom

Stretch

A map is stretched or shrunk to fit the page on which it is printed.

MapPrintSizeMode_Zoom

#Property Paths

You can access this nested property as listed below:

Object Type Path to SizeMode
MapControl
.PrintOptions .SizeMode

#Remarks

Use the MapControl.ShowPrintPreview method to see the result on-screen.

See Also