MESCIUS SPREAD for ASP.NET 10.0J
ResetFont メソッド (Row)

行のフォントをリセットし、その行にデフォルト行のフォントを継承します。
構文
'Declaration
 
Public Sub ResetFont() 
public void ResetFont()
次のサンプルコードは、ResetFontメソッドを使用します。
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();
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()
参照

Row クラス
Row メンバ

 

 


© MESCIUS inc. All rights reserved.