MapControl.PrintOptions Property
In This Article
Provides access to the map control’s printing options.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
NuGet Package: DevExpress.Win.Map
#Declaration
public PrintOptions PrintOptions { get; }
#Property Value
Type | Description |
---|---|
Print |
A Print |
#Remarks
The object returned provides a set of properties which specify the map’s elements that are to be printed. Refer to the PrintOptions class description for a list of the available options and their descriptions.
#Example
void InitializeSizeModeComboBox() {
cbSizeMode.DataSource = Enum.GetValues(typeof(MapPrintSizeMode));
}
private void cbSizeMode_SelectedIndexChanged(object sender, EventArgs e) {
MapPrintSizeMode mode = (MapPrintSizeMode)cbSizeMode.SelectedValue;
mapControl.PrintOptions.SizeMode = mode;
}
See Also