Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / BackgroundImage Property

In This Topic
    BackgroundImage Property (SheetView)
    In This Topic
    Gets or sets sheetview background image.
    Public Property BackgroundImage As Image
    Dim instance As SheetView
    Dim value As Image
    instance.BackgroundImage = value
    value = instance.BackgroundImage
    public Image BackgroundImage {get; set;}
    This example adds an image to the sheet.
    FpSpread1.Sheets[0].BackgroundImage = Image.FromFile("C:\\Program Files (x86)\\Common\\logo.bmp");
    FpSpread1.Sheets[0].DefaultStyle.BackColor = Color.Transparent;
    FpSpread1.Sheets(0).BackgroundImage = Image.FromFile("C:\Program Files (x86)\Common\logo.bmp")
    FpSpread1.Sheets(0).DefaultStyle.BackColor = Color.Transparent
    See Also