FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SpreadView クラス > GetRowViewportCount メソッド : GetRowViewportCount() メソッド |
'Declaration Public Overloads Function GetRowViewportCount() As Integer
'使用法 Dim instance As SpreadView Dim value As Integer value = instance.GetRowViewportCount()
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.")