FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo Class : ResetBackground Method |
'Declaration Public Sub ResetBackground()
'Usage Dim instance As StyleInfo instance.ResetBackground()
public void ResetBackground()
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)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional