Spread WPF Documentation
GetColumnViewportCount Method (Worksheet)
Example 


Gets the column viewport count.
Syntax
'Declaration
 
Public Function GetColumnViewportCount() As System.Integer
'Usage
 
Dim instance As Worksheet
Dim value As System.Integer
 
value = instance.GetColumnViewportCount()
public System.int GetColumnViewportCount()

Return Value

The column viewport count.
Example
This example uses the GetColumnViewportCount method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnLabel(0).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnLabel(0,2).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnViewportCount().ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnLabel(0).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnLabel(0,2).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnViewportCount().ToString())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.