StripLine.BackImage Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the background image of the strip line.

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

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public string BackImage { get; set; }

Property Value

Type: System.String

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

The BackImage 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 BackImageAlignment and BackImageWrapMode properties.

You can also specify that one color will be displayed by the image as "transparent" by setting the BackImageTransparentColor property.

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

This property is not applicable if the StripWidth property is set to a value of 0.0.

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

.NET Framework
Available since 4.0
Return to top
Show: