Spread WPF 14
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / GetColumnViewportCount Method
Example


In This Topic
    GetColumnViewportCount Method (Worksheet)
    In This Topic
    Gets the column viewport count.
    Syntax
    'Declaration
     
    Public Function GetColumnViewportCount() As Integer
    'Usage
     
    Dim instance As Worksheet
    Dim value As Integer
     
    value = instance.GetColumnViewportCount()
    public 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())
    See Also