LegendItem.MarkerImage 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 a marker image.
public:
property System::String ^ MarkerImage { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public string MarkerImage { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.MarkerImage : string with get, set
Public Property MarkerImage As String
Property Value
A string
value that represents the URL of an image file.
- Attributes
Remarks
Represents a path to an image file, which can be an absolute or relative URL.
To use markers, set the MarkerStyle property to a value other than None.
The MarkerImage property takes precedence over the MarkerColor property.
A marker image can be any valid graphics file supported by .NET Framework, including icons.
To set one color of the marker image to be transparent, use the MarkerImageTransparentColor property.
Note
This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.