Spread for ASP.NET 10 Product Documentation
ResetBackground Method (StyleInfo)
Example 


Resets the Background property to its default value.
Syntax
'Declaration
 
Public Sub ResetBackground() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetBackground()
public void ResetBackground()
Example
This example uses the ResetBackground method.
FarPoint.Web.Spread.Background bg = new FarPoint.Web.Spread.Background();            
bg.BackgroundImageUrl = "fplogo.png";       
FarPoint.Web.Spread.StyleInfo style = new FarPoint.Web.Spread.StyleInfo();
style.Background = bg;
style.BackColor = Color.Beige;
style.ResetBackground();
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, style);
Dim bg As New FarPoint.Web.Spread.Background()
bg.BackgroundImageUrl = "fplogo.png"
Dim Style As New FarPoint.Web.Spread.StyleInfo()
Style.Background = bg
Style.BackColor = Color.Beige
Style.ResetBackground()
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, Style)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

StyleInfo Class
StyleInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.