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


Gets or sets sheetview background image layout.
Syntax
'Declaration
 
Public Property BackgroundImageLayout As SheetView.ImageLayout
'Usage
 
Dim instance As SheetView
Dim value As SheetView.ImageLayout
 
instance.BackgroundImageLayout = value
 
value = instance.BackgroundImageLayout
public SheetView.ImageLayout BackgroundImageLayout {get; set;}
Example
This example displays a background image.
fpSpread1.Sheets[0].BackgroundImage = Image.FromFile("C:\\Program Files (x86)\\ComponentOne\\image.png");
fpSpread1.Sheets[0].BackgroundImageLayout = FarPoint.Win.Spread.SheetView.ImageLayout.Tile;
fpSpread1.ActiveSheet.DefaultStyle.BackColor = Color.Transparent;
FpSpread1.Sheets(0).BackgroundImage = Image.FromFile("C:\Program Files (x86)\ComponentOne\image.png")
FpSpread1.Sheets(0).BackgroundImageLayout = FarPoint.Win.Spread.SheetView.ImageLayout.Tile
FpSpread1.ActiveSheet.DefaultStyle.BackColor = Color.Transparent
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.