Skip to main content
A newer version of this page is available. .

PrintOptions Class

Provides access to the map’s printing options.

Namespace: DevExpress.XtraMap.Printing

Assembly: DevExpress.XtraMap.v20.2.dll

NuGet Package: DevExpress.Win.Map

Declaration

public class PrintOptions :
    MapNotificationOptions

The following members return PrintOptions objects:

Remarks

The PrintOptions class provides a set of properties that control how the map is printed. These properties can be accessed via the control’s MapControl.PrintOptions property.

Example

View 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