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


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


Legend item image.

Syntax

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

Return Value

A string value that represents a URL to an image file. The default is an empty string.

Remarks

Determines the image file to be used for a LegendItem object's symbol.

The path can be an absolute or relative URL. By default the path is absolute when selected using the Property Window at design-time.

Setting a background image will result in that image being displayed regardless of the Style property setting.

You can also have one color used by the image to be "transparent" by setting the BackImageTranspColor 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.