GrapeCity.Xaml.SpreadSheet.Data
GetActiveColumnViewportIndex Method (Worksheet)
Example 


Gets the index of the active column viewport.
Syntax
'Declaration
 
Public Function GetActiveColumnViewportIndex() As Integer
'Usage
 
Dim instance As Worksheet
Dim value As Integer
 
value = instance.GetActiveColumnViewportIndex()
public int GetActiveColumnViewportIndex()

Return Value

The index of the active column viewport.
Example
This example uses the GetActiveColumnViewportIndex method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActiveColumnViewportIndex().ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActiveRowViewportIndex().ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualColumnVisible(5,GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActiveColumnViewportIndex().ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActiveRowViewportIndex().ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualColumnVisible(5,GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString())
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options