Back to Devexpress

MapPrintOptions.SizeMode Property

wpf-devexpress-dot-xpf-dot-map-dot-mapprintoptions-cb15789e.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public MapPrintSizeMode SizeMode { get; set; }
vb
Public Property SizeMode As MapPrintSizeMode

Property Value

TypeDescription
MapPrintSizeMode

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

|

Available values:

NameDescription
Normal

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

| | Zoom |

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

| | Stretch |

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to SizeMode
MapControl

.PrintOptions .SizeMode

|

Remarks

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

See Also

MapPrintOptions Class

MapPrintOptions Members

DevExpress.Xpf.Map Namespace