BackImageWrapMode Property

Chart.BackImageWrapMode Property

.NET Framework 4.6 and 4.5

Gets or sets the drawing mode for the background image of the Chart control.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public ChartImageWrapMode BackImageWrapMode { get; set; }

Property Value

Type: System.Windows.Forms.DataVisualization.Charting.ChartImageWrapMode

A ChartImageWrapMode enumeration value that specifies the drawing mode for the background image of the chart. The default value is Tile.

This property determines how the image is displayed, for example, tiled, scaled, and so forth.

If an image is scaled, it will be stretched to fit within the bounds of the chart. If the image is tiled, it is repeatedly drawn, starting from the top-left corner of the chart.

For more information about the available wrapping modes, see the ChartImageWrapMode enumeration topic.

If the BackImageWrapMode property is set to Unscaled, the location where the image is drawn is determined by the BackImageAlignment property setting.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft