FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Column Class : ResetFont Method |
'Declaration Public Sub ResetFont()
'Usage Dim instance As Column instance.ResetFont()
public void ResetFont()
FarPoint.Web.Spread.Column mycol; mycol = FpSpread1.ActiveSheetView.Columns[1]; mycol.BackColor = System.Drawing.Color.Yellow; mycol.ForeColor = System.Drawing.Color.Red; mycol.Border = new FarPoint.Web.Spread.Border(BorderStyle.Groove, System.Drawing.Color.Blue, 3); mycol.Font.Bold = true; mycol.Font.Name = "ComicSansMS"; //mycol.ResetBackColor(); //mycol.ResetBorder(); //mycol.ResetForeColor(); //mycol.ResetFont();
Dim mycol As FarPoint.Web.Spread.Column mycol = FpSpread1.ActiveSheetView.Columns(1) mycol.BackColor = System.Drawing.Color.Yellow mycol.ForeColor = System.Drawing.Color.Red mycol.Border = New FarPoint.Web.Spread.Border(BorderStyle.Groove, System.Drawing.Color.Blue, 3) mycol.Font.Bold = True mycol.Font.Name = "ComicSansMS" 'mycol.ResetBackColor() 'mycol.ResetBorder() 'mycol.ResetForeColor() 'mycol.ResetFont()
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6