Spread WinForms 15
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
Example
control.ForegroundImage = new FarPoint.Win.Picture(Image.FromFile("d:\overlay.bmp"));
control.MarginTop = 3;
control.MarginBottom = 3;
See Also