Visual Basic (Declaration) | |
---|---|
Public Sub ResetFont() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Row instance.ResetFont() |
C# | |
---|---|
public void ResetFont() |
This example uses the ResetFont method.
C# | Copy Code |
---|---|
FarPoint.Web.Spread.Row myrow; myrow = FpSpread1.ActiveSheetView.Rows[1]; myrow.BackColor = System.Drawing.Color.Yellow; myrow.ForeColor = System.Drawing.Color.Red; myrow.Font.Bold = true; myrow.Font.Name = "Comic Sans MS"; myrow.Border = new FarPoint.Web.Spread.Border(System.Drawing.Color.Aqua); myrow.Height = 70; myrow.TabStop = false; //myrow.ResetBackColor(); //myrow.ResetForeColor(); //myrow.ResetFont(); //myrow.ResetBorder(); //myrow.ResetHeight(); //myrow.ResetTabStop(); |
VB.NET | Copy Code |
---|---|
Dim myrow As FarPoint.Web.Spread.Row myrow = FpSpread1.ActiveSheetView.Rows(1) myrow.BackColor = System.Drawing.Color.Yellow myrow.ForeColor = System.Drawing.Color.Red myrow.Font.Bold = True myrow.Font.Name = "Comic Sans MS" myrow.Border = New FarPoint.Web.Spread.Border(System.Drawing.Color.Aqua) myrow.Height = 70 myrow.TabStop = False 'myrow.ResetBackColor() 'myrow.ResetForeColor() 'myrow.ResetFont() 'myrow.ResetBorder() 'myrow.ResetHeight() 'myrow.ResetTabStop() |
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