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


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)
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.