Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / ChartShape Class / ForegroundImage Property
Example


In This Topic
    ForegroundImage Property (ChartShape)
    In This Topic
    Gets or sets the foreground image for the element.
    Syntax
    'Declaration
     
    
    Public Overrides Property ForegroundImage As Picture
    'Usage
     
    
    Dim instance As ChartShape
    Dim value As Picture
     
    instance.ForegroundImage = value
     
    value = instance.ForegroundImage
    public override Picture ForegroundImage {get; set;}
    Example
    control.ForegroundImage = new FarPoint.Win.Picture(Image.FromFile("d:\overlay.bmp"));
    control.MarginTop = 3;
    control.MarginBottom = 3;
    control.ForegroundImage = New FarPoint.Win.Picture(Image.FromFile("d:\overlay.bmp"))
    control.MarginTop = 3
    control.MarginBottom = 3
    See Also