MapControl.PrintOptions Property

Provides access to the map control's printing options.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.1.dll

Declaration

public PrintOptions PrintOptions { get; }
Public ReadOnly Property PrintOptions As PrintOptions

Property Value

Type Description
PrintOptions

A PrintOptions object which provides access to the map's printing options.

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.

Examples

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