FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo Class > Reset Method : Reset() Method |
'Declaration Public Overloads Overridable Sub Reset()
'Usage Dim instance As StyleInfo instance.Reset()
public virtual void Reset()
FarPoint.Web.Spread.StyleInfo info = new FarPoint.Web.Spread.StyleInfo(); info.BackColor = Color.Yellow; info.ForeColor = Color.Red; info.Font.Bold = true; FpSpread1.ActiveSheetView.SetStyleInfo(0, 0, info); FpSpread1.ActiveSheetView.SetValue(0, 0, "0, 0"); info.Reset(); info.BackColor = Color.Red; FpSpread1.ActiveSheetView.SetStyleInfo(0, 2, info); FpSpread1.ActiveSheetView.SetValue(0, 2, "0, 2");
Dim info As New FarPoint.Web.Spread.StyleInfo() info.BackColor = Color.Yellow info.ForeColor = Color.Red info.Font.Bold = True FpSpread1.ActiveSheetView.SetStyleInfo(0, 0, info) FpSpread1.ActiveSheetView.SetValue(0, 0, "0, 0") info.Reset() info.BackColor = Color.Red FpSpread1.ActiveSheetView.SetStyleInfo(0, 2, info) FpSpread1.ActiveSheetView.SetValue(0, 2, "0, 2")
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional