Dundas Chart for ASP.NET
FrameBackImage Property
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl Namespace > BorderSkinAttributes Class : FrameBackImage Property


Gets or sets the background image of the border skin's frame.


Skin frame background image.

Syntax

Visual Basic (Declaration)  
Public Property FrameBackImage As String
Visual Basic (Usage) Copy Code
Dim instance As BorderSkinAttributes
Dim value As String
 
instance.FrameBackImage = value
 
value = instance.FrameBackImage
C#  
public string FrameBackImage {get; set;}

Return Value

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

Example

The following sample specifies a border skin that uses a frame in the Page_Load event. We also use an image that is tiled by default.
Visual Basic Copy Code
Imports Dundas.Charting.WebControl
...

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    'specify skin style
    Chart1.BorderSkin.SkinStyle = BorderSkinStyle.FrameThin6

    'set the image to be used (by default it is tiled)
    Chart1.BorderSkin.FrameBackImage = "../../../MyImage.ico"

End Sub

Remarks

This property defines a path to the frame's background image, and is an absolute or relative URL. An image can be any valid graphics file supported by .NET, including icons.

To position this image use the FrameBackImageAlign and FrameBackImageMode properties.

Background images take precedence over both gradient colors and hatching.

Setting this property for border skins that do not use frames will have no effect.

Requirements

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

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.