GrapeCity SPREAD for Windows Forms 11.0J
GetViewportBottomRow(Int32) メソッド


ビューポート行インデックス
アクティブなシートに指定されたビューポートの最後行の後の行を取得します。
構文
'Declaration
 
Public Overloads Function GetViewportBottomRow( _
   ByVal rowViewportIndex As Integer _
) As Integer
'使用法
 
Dim instance As FpSpread
Dim rowViewportIndex As Integer
Dim value As Integer
 
value = instance.GetViewportBottomRow(rowViewportIndex)
public int GetViewportBottomRow( 
   int rowViewportIndex
)

パラメータ

rowViewportIndex
ビューポート行インデックス

戻り値の型

ビューポートの一番下の行のインデックスを表す Integer
解説

ビューポート行のインデックスは0から始まります。つまり、最初(一番上)のビューポート行のインデックスは0になります。

次のサンプルコードは、ビューポートの一番下の行を返します。
int i = fpSpread1.GetViewportBottomRow(1);

MessageBox.Show(i.ToString());
Dim i As Integer = FpSpread1.GetViewportBottomRow(1)

MessageBox.Show(i.ToString())
参照

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

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.