Dundas Chart for Windows Forms
MarkerImage Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > LegendItem Class : MarkerImage Property


Gets or sets a marker image.


Legend item marker image

Syntax

Visual Basic (Declaration)  
Public Property MarkerImage As String
Visual Basic (Usage) Copy Code
Dim instance As LegendItem
Dim value As String
 
instance.MarkerImage = value
 
value = instance.MarkerImage
C#  
public string MarkerImage {get; set;}

Return Value

A string expression representing the URL of an image file.

Remarks

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.

Requirements

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

See Also

© 2009 All Rights Reserved.