Version

BackgroundImageFileName Property

Sets the background image for the control's background.
Syntax
'Declaration
 
Public Property BackgroundImageFileName As String
public string BackgroundImageFileName {get; set;}
Remarks

Specify the full path and filename of a valid image file that will be displayed in the chart's background. The selected image will be scaled to the dimemsions of the chart (the default setting) or tiled to fill the available space, depending on the value of BackgroundImageStyle.

Example
'sets the image to use as the background
     UltraChart1.BackgroundImage = New Bitmap("C:\my documents\picture.bmp")
     'determines the style of the image, center, steched, tiled
     UltraChart1.BackgroundImageStyle = Infragistics.UltraChart.Shared.Styles.ImageFitStyle.Centered
// sets the image to use as the background
     UltraChart1.BackgroundImage = new Bitmap("C:\my documents\picture.bmp");
     // determines the style of the image, center, steched, tiled
     UltraChart1.BackgroundImageStyle = Infragistics.UltraChart.Shared.Styles.ImageFitStyle.Centered;
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also