Editar

Compartir a través de


Legend.BackImage Property

Definition

Gets or sets the background image of a legend.

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. The default value is an empty string.

Attributes

Remarks

This property defines a path to a background image for a Chart legend, 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 can originate from any valid graphics file supported by .NET Framework, including icons.

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

Applies to