Gets or sets the background image of a legend.
Legend background image
Visual Basic (Declaration) | |
---|---|
Public Property BackImage As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string BackImage {get; set;} |
Return Value
A string value that represents an image file's URL. The default is an empty string.
This property defines a path to a background image for many Chart elements, and is an absolute or relative URL.
To position this image use the BackImageAlign and BackImageMode properties.
You can also have one color displayed by the image to be transparent by setting the BackImageTranspColor property.
An image can be any valid graphics file supported by .NET, including icons.
Background images take precedence over other background properties such as (gradient) colors, etc.
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