Spread Windows Forms 12.0 Product Documentation
GetRowViewportCount() Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > GetRowViewportCount Method : GetRowViewportCount() Method
Gets the number of viewport rows.
Syntax
'Declaration
 
Public Overloads Function GetRowViewportCount() As Integer
'Usage
 
Dim instance As FpSpread
Dim value As Integer
 
value = instance.GetRowViewportCount()
public int GetRowViewportCount()

Return Value

Integer number of viewport rows
Example
fpSpread1.AddViewport(0, 0);

int i;
i = fpSpread1.GetRowViewportCount();
textBox1.Text = i.ToString();
FpSpread1.AddViewport(0, 0)

Dim i As Integer
i = FpSpread1.GetRowViewportCount()
TextBox1.Text = i.ToString()
See Also

Reference

FpSpread Class
FpSpread Members
Overload List