Edit

Share via


Legend.BackImageWrapMode Property

Definition

Gets or sets the drawing mode of a legend background image.

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

Property Value

A ChartImageWrapMode enumeration value that represents the drawing mode of a legend background image. The default value is Tile.

Attributes

Remarks

The BackImageWrapMode property determines how the image is displayed; the image can be tiled, scaled, and so forth.

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

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.

Applies to