Gets or sets a marker image.
Legend item marker image
Visual Basic (Declaration) | |
---|---|
Public Property MarkerImage As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string MarkerImage {get; set;} |
Return Value
A string expression representing the URL of an image file.
Represents a path to an image file, and can be an absolute or relative URL.
To use markers set the MarkerStyle property to a value other than MarkerStyle.None.
The MarkerImage property takes precedence over the MarkerColor property.
A marker image can be any valid graphics file supported by .NET, including icons.
You can set one color of the marker image to be transparent using the MarkerImageTranspColor property.
Note: This property is applicable only to LegendCells, with a CellType of SeriesSymbol, or Image.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family