public int GetViewportBottomRow(
int
)
'宣言
Public Overloads Function GetViewportBottomRow( _
ByVal As Integer _
) As Integer
パラメータ
- 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())