Muokkaa

Jaa


LegendItem.Image Property

Definition

Gets or sets the image that will be displayed for a legend item symbol.

public:
 property System::String ^ Image { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public string Image { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Image : string with get, set
Public Property Image 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 determines the image file to be used for the LegendItem symbol.

The path can be an absolute or a relative URL.

If you set a background image, that image will be displayed regardless of the ImageStyle property setting.

Set the BackImageTransparentColor property to enable one color used by the image to appear transparent.

Note

This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Applies to