パラメータ
- rowViewportIndex
- ビューポート行のインデックス
- columnViewportIndex
- ビューポート列のインデックス
- cellRowIndex
- 指定したビューポート内の行インデックス
- cellColumnIndex
- 指定したビューポート内の列インデックス
戻り値の型
指定したインデックスにあるセルが表示されている場合は True、それ以外の場合は False
次のサンプル コードは、指定したセルを画面に表示します。
bool b;
b = fpSpread1.IsCellInView(0, 0, 20, 4);
if (!b)
{
fpSpread1.ShowCell(0, 0, 20, 4, FarPoint.Win.Spread.VerticalPosition.Center, FarPoint.Win.Spread.HorizontalPosition.Center);
}
Dim b As Boolean
b = fpSpread1.IsCellInView(0, 0, 20, 4)
If Not b Then
fpSpread1.ShowCell(0, 0, 20, 4, FarPoint.Win.Spread.VerticalPosition.Center, FarPoint.Win.Spread.HorizontalPosition.Center)
End If