Spread Windows Forms 6.0 Product Documentation
BackgroundImage Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : BackgroundImage Property


Glossary Item Box

Gets or sets the image to paint in the background of the component.

Syntax

Visual Basic (Declaration) 
Public Overrides Property BackgroundImage As Image
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Image
 
instance.BackgroundImage = value
 
value = instance.BackgroundImage
C# 
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.
C#Copy Code
fpSpread1.BackgroundImage = pictureBox1.Image;

fpSpread1.ActiveSheet.DefaultStyle.BackColor = Color.FromArgb(10);
Visual BasicCopy Code
FpSpread1.BackgroundImage = PictureBox1.Image

FpSpread1.ActiveSheet.DefaultStyle.BackColor = Color.FromArgb(10)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.