Title.BackImage Property

.NET Framework (current version)
 

Gets or sets the background image of the title.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

<BindableAttribute(True)>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
Public Property BackImage As String

Property Value

Type: System.String

A string value that represents the URL of an image file. The default is an empty string.

This property defines a path to a background image for a Chart title, and can be an absolute or relative URL.

To position the image, use the BackImageAlignment and BackImageWrapMode properties.

You can also specify one of the colors displayed by the image as "transparent", by setting the BackImageTransparentColor property.

An image be any valid graphics file supported by .NET Framework, including icons.

Background images take precedence over other background properties such as gradient color.

.NET Framework
Available since 4.0
Return to top
Show: