Spread Windows Forms 9.0 Product Documentation
BackgroundImage Property (SheetView)
Example 


Gets or sets sheetview background image.
Syntax
'Declaration
 
Public Property BackgroundImage As Image
'Usage
 
Dim instance As SheetView
Dim value As Image
 
instance.BackgroundImage = value
 
value = instance.BackgroundImage
public Image BackgroundImage {get; set;}
Example
This example adds an image to the sheet.
FpSpread1.Sheets[0].BackgroundImage = Image.FromFile("C:\\Program Files (x86)\\ComponentOne\\Spread Studio for .NET 7 v2\\Common\\logo.bmp");
FpSpread1.Sheets(0).BackgroundImage = Image.FromFile("C:\Program Files (x86)\ComponentOne\Spread Studio for .NET 7 v2\Common\logo.bmp")
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.