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


In This Topic
    BackgroundImage Property (FpSpread)
    In This Topic
    Gets or sets the image to paint in the background of the component.
    Syntax
    'Declaration
     
    Public Overrides Property BackgroundImage As Image
    'Usage
     
    Dim instance As FpSpread
    Dim value As Image
     
    instance.BackgroundImage = value
     
    value = instance.BackgroundImage
    public override Image BackgroundImage {get; set;}

    Property Value

    Image object that contains the image to use as the background
    Example
    This image sets the background image for the spreadsheet.
    fpSpread1.BackgroundImage = pictureBox1.Image;
    
    fpSpread1.ActiveSheet.DefaultStyle.BackColor = Color.FromArgb(10);
    
    FpSpread1.BackgroundImage = PictureBox1.Image
    
    FpSpread1.ActiveSheet.DefaultStyle.BackColor = Color.FromArgb(10)
    See Also