MESCIUS SPREAD for ASP.NET 10.0J
GetRowIndex メソッド

指定した行のクライアント行インデックスを返します。
構文
'Declaration
 
Public Function GetRowIndex( _
   ByVal pageIndex As Integer, _
   ByVal row As Integer _
) As Integer
public int GetRowIndex( 
   int pageIndex,
   int row
)

パラメータ

pageIndex
row
次のサンプルコードは、GetRowIndexメソッドを使用します。
FpSpread1.Sheets[0].RowCount = 30;
ListBox1.Items.Add(FpSpread1.GetColumnIndex(1).ToString());
ListBox1.Items.Add(FpSpread1.GetRowIndex(1, 1).ToString());
ListBox1.Items.Add(FpSpread1.GetPageIndex(11).ToString());
FpSpread1.Sheets(0).RowCount = 30
ListBox1.Items.Add(FpSpread1.GetColumnIndex(1).ToString())
ListBox1.Items.Add(FpSpread1.GetRowIndex(1, 1).ToString())
ListBox1.Items.Add(FpSpread1.GetPageIndex(11).ToString())
参照

FpSpread クラス
FpSpread メンバ

 

 


© MESCIUS inc. All rights reserved.