public int GetViewportBottomRow(
int
)
'Declaration
Public Overloads Function GetViewportBottomRow( _
ByVal As Integer _
) As Integer
'使用法
Dim instance As SpreadView
Dim rowViewportIndex As Integer
Dim value As Integer
value = instance.GetViewportBottomRow(rowViewportIndex)
パラメータ
- rowViewportIndex
- ビューポート行インデックス
戻り値の型
指定したビューポート行の一番下のセル行のインデックスを表す
Integer
次のサンプルコードは、GetViewportBottomRowメソッドを使用します。
FarPoint.Win.Spread.SpreadView sv;
int i;
sv = fpSpread1.GetRootWorkbook();
sv.AddViewport(0, 0);
i = sv.GetViewportBottomRow(0);
MessageBox.Show("The bottom row of the viewport is " + i.ToString());
Dim sv As FarPoint.Win.Spread.SpreadView
Dim i As Integer
sv = FpSpread1.GetRootWorkbook()
sv.AddViewport(0, 0)
i = sv.GetViewportBottomRow(0)
MessageBox.Show("The bottom row of the viewport is " & i.ToString())