MESCIUS SPREAD for ASP.NET 10.0J
Inset コンストラクタ()

余白(Inset オブジェクト)の空集合を作成します。
構文
'Declaration
 
Public Function New()
public Inset()
解説
このメソッドは、Insetクラスのインスタンスを初期化します。
この例では、インセットの新しいインスタンスを作成します。
FarPoint.Web.Spread.Inset inset = New FarPoint.Web.Spread.Inset();
inset.Left = 35;
inset.Top = 5;
inset.Right = 5;
inset.Bottom = 35;
FpSpread1.Sheets[0].AlternatingRows.Count = 3;
FpSpread1.Sheets[0].Rows[0].Height = 80;
FpSpread1.Sheets[0].Rows[1].Height = 80;
FpSpread1.Sheets[0].Rows[2].Height = 80;
FpSpread1.Sheets[0].SetValue(0, 0, "Test");
FpSpread1.Sheets[0].SetValue(1, 0, "For");
FpSpread1.Sheets[0].SetValue(2, 0, "Margin");
FpSpread1.Sheets[0].AlternatingRows[0].Margin = inset;
FpSpread1.Sheets[0].AlternatingRows[1].Margin = inset;
FpSpread1.Sheets[0].AlternatingRows[2].Margin = inset;
Dim inset As New FarPoint.Web.Spread.Inset()
inset.Left = 35
inset.Top = 5
inset.Right = 5
inset.Bottom = 35
FpSpread1.Sheets(0).AlternatingRows.Count = 3
FpSpread1.Sheets(0).Rows(0).Height = 80
FpSpread1.Sheets(0).Rows(1).Height = 80
FpSpread1.Sheets(0).Rows(2).Height = 80
FpSpread1.Sheets(0).SetValue(0, 0, "Test")
FpSpread1.Sheets(0).SetValue(1, 0, "For")
FpSpread1.Sheets(0).SetValue(2, 0, "Margin")
FpSpread1.Sheets(0).AlternatingRows(0).Margin = inset
FpSpread1.Sheets(0).AlternatingRows(1).Margin = inset
FpSpread1.Sheets(0).AlternatingRows(2).Margin = inset
参照

Inset クラス
Inset メンバ
オーバーロード一覧

 

 


© MESCIUS inc. All rights reserved.