Gets or sets the image that will be displayed for a legend item's symbol.
Legend item image.
Visual Basic (Declaration) | |
---|---|
Public Property Image As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.
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.
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