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


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : BackgroundImageLayout Property
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)\\GrapeCity\\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)\GrapeCity\image.png")
fpSpread1.Sheets(0).BackgroundImageLayout = FarPoint.Win.Spread.SheetView.ImageLayout.Tile
fpSpread1.ActiveSheet.DefaultStyle.BackColor = Color.Transparent
See Also

Reference

SheetView Class
SheetView Members