MESCIUS SPREAD for ASP.NET 10.0J
ResetLocked メソッド (Cell)

セルのロック状態をリセットし、そのセルにデフォルトセルのロック状態を継承します。
構文
'Declaration
 
Public Sub ResetLocked() 
public void ResetLocked()
次のサンプルコードは、ResetLockedメソッドを使用します。
FarPoint.Web.Spread.Cell mycell;
FarPoint.Web.Spread.Inset margin = new FarPoint.Web.Spread.Inset(20, 40, 50, 20);
mycell = FpSpread1.Cells[0, 0];
mycell.Text = "Note Test";
mycell.Locked = true;
mycell.Margin = margin;
mycell.Note = "This is the Note";
FpSpread1.ActiveSheetView.Rows[0].Height = 80;
//mycell.ResetMargin();
//mycell.ResetLocked();
//mycell.ResetNote();
Dim mycell As FarPoint.Web.Spread.Cell
Dim margin As New FarPoint.Web.Spread.Inset(20,40,50,20)
mycell=FpSpread1.Cells(0,0)
mycell.Text="Note Test"
mycell.Locked=True
mycell.Margin=margin
mycell.Note="This is the Note"
FpSpread1.ActiveSheetView.Rows(0).Height=80
'mycell.ResetMargin()
'mycell.ResetLocked()
'mycell.ResetNote()
参照

Cell クラス
Cell メンバ

 

 


© MESCIUS inc. All rights reserved.