FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > SpreadView クラス > GetRowViewportCount メソッド : GetRowViewportCount() メソッド |
'Declaration
Public Overloads Function GetRowViewportCount() As Integer
public int GetRowViewportCount()
FarPoint.Win.Spread.SpreadView sv; int i; sv = fpSpread1.GetRootWorkbook(); sv.GetRootWorkbook.AddViewport(0, 0); i = sv.GetRowViewportCount(); MessageBox.Show("There are " + i.ToString() + " rows in the viewport.");
Dim sv As FarPoint.Win.Spread.SpreadView Dim i As Integer sv = FpSpread1.GetRootWorkbook() sv.GetRootWorkbook.AddViewport(0, 0) i = sv.GetRowViewportCount() MessageBox.Show("There are " & i.ToString() & " rows in the viewport.")