Bewerken

Delen via


Chart.BackImageWrapMode Property

Definition

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

public:
 property System::Windows::Forms::DataVisualization::Charting::ChartImageWrapMode BackImageWrapMode { System::Windows::Forms::DataVisualization::Charting::ChartImageWrapMode get(); void set(System::Windows::Forms::DataVisualization::Charting::ChartImageWrapMode value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.ChartImageWrapMode BackImageWrapMode { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.BackImageWrapMode : System.Windows.Forms.DataVisualization.Charting.ChartImageWrapMode with get, set
Public Property BackImageWrapMode As ChartImageWrapMode

Property Value

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

Attributes

Remarks

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.

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

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

Applies to