Spread for ASP.NET 11 Product Documentation
ResetForeColor Method (StyleInfo)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo Class : ResetForeColor Method
Resets the ForeColor property to its default value.
Syntax
'Declaration
 
Public Sub ResetForeColor() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetForeColor()
public void ResetForeColor()
Example
This example uses the ResetForeColor method.
FarPoint.Web.Spread.StyleInfo Style = new FarPoint.Web.Spread.StyleInfo();
Style.Font.Bold = true;
Style.ForeColor = Color.DarkBlue;
// Style.ResetFont();
// Style.ResetForeColor();
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, Style);
Dim Style As New FarPoint.Web.Spread.StyleInfo()
Style.Font.Bold = True
Style.ForeColor = Color.DarkBlue
' Style.ResetFont()
' Style.ResetForeColor()
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, Style)
See Also

Reference

StyleInfo Class
StyleInfo Members