MESCIUS SPREAD for Windows Forms 15.0J
GetRowViewportCount(Int32) メソッド
使用例 

シートインデックス
指定したシートのビューポート行の数を取得します。
構文
'宣言
 
Public Overloads Function GetRowViewportCount( _
   ByVal sheetIndex As Integer _
) As Integer
public int GetRowViewportCount( 
   int sheetIndex
)

パラメータ

sheetIndex
シートインデックス

戻り値の型

ビューポート行の数を表す Integer
例外
例外解説
System.ArgumentOutOfRangeException 指定されたシートのインデックスが範囲外です。0からシートの総数までの値を指定する必要があります。
解説

シートインデックスは0から始まります。つまり、最初のシートのインデックスは0になります。

使用例
fpSpread1.Sheets.Count = 3;
fpSpread1.AddViewport(1, 0, 0);

int i;
i = fpSpread1.GetRowViewportCount(1);
textBox1.Text = i.ToString();
FpSpread1.Sheets.Count = 3
FpSpread1.AddViewport(1, 0, 0)

Dim i As Integer
i = FpSpread1.GetRowViewportCount(1)
TextBox1.Text = i.ToString()
参照

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

 

 


© MESCIUS inc. All rights reserved.