Back to Devexpress

PrintOptions.SizeMode Property

windowsforms-devexpress-dot-xtramap-dot-printing-dot-printoptions-ec2fca72.md

latest2.3 KB
Original Source

PrintOptions.SizeMode Property

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

Namespace : DevExpress.XtraMap.Printing

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(MapPrintSizeMode.Normal)]
public MapPrintSizeMode SizeMode { get; set; }
vb
<DefaultValue(MapPrintSizeMode.Normal)>
Public Property SizeMode As MapPrintSizeMode

Property Value

TypeDefaultDescription
MapPrintSizeModeNormal

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

PrintOptions Class

PrintOptions Members

DevExpress.XtraMap.Printing Namespace