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.v19.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
MapPrintSizeMode | **Normal** | 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. |
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 Type | Path to SizeMode |
---|---|
MapControl |
|
Remarks
Use the MapControl.ShowPrintPreview method to see the result on-screen.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SizeMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.