Spread Windows Forms 12.0 Product Documentation
GetColumnViewportCount() Method
Example 


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

Return Value

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

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

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

Reference

FpSpread Class
FpSpread Members
Overload List