Επεξεργασία

Κοινή χρήση μέσω


ChartArea.BackImage Property

Definition

Gets or sets the background image of a ChartArea object.

public:
 property System::String ^ BackImage { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string BackImage { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.BackImage : string with get, set
Public Property BackImage As String

Property Value

A string value that represents the URL of an image file, used as the background image of a chart area. The default is an empty string.

Attributes

Remarks

This property defines a path to a background image for a ChartArea, and can be an absolute or relative URL.

To position the image, use the BackImageAlignment and BackImageWrapMode properties.

You can also specify one of the colors displayed by the image as "transparent", by setting the BackImageTransparentColor property.

An image be any valid graphics file supported by .NET Framework, including icons.

Background images take precedence over other background properties such as gradient color.

Applies to