FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > FpSpread クラス : IsCellInView メソッド |
'Declaration
Public Function IsCellInView( _ ByVal rowViewportIndex As Integer, _ ByVal columnViewportIndex As Integer, _ ByVal cellRowIndex As Integer, _ ByVal cellColumnIndex As Integer _ ) As Boolean
public bool IsCellInView( int rowViewportIndex, int columnViewportIndex, int cellRowIndex, int cellColumnIndex )
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