LegendItem.Image Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.