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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo Class : ResetFont Method
Resets the Font property to its default value.
Syntax
'Declaration
 
Public Sub ResetFont() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetFont()
public void ResetFont()
Example
This example uses the ResetFont 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