GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : SetActiveViewport Method |
'Declaration Public Sub SetActiveViewport( _ ByVal rowViewportIndex As Integer, _ ByVal columnViewportIndex As Integer _ )
'Usage Dim instance As Worksheet Dim rowViewportIndex As Integer Dim columnViewportIndex As Integer instance.SetActiveViewport(rowViewportIndex, columnViewportIndex)
public void SetActiveViewport( int rowViewportIndex, int columnViewportIndex )
gcSpreadSheet1.Sheets[0].SetActiveViewport(0, 0); gcSpreadSheet1.Sheets[0].SetColumnVisible(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, false); gcSpreadSheet1.Sheets[0].SetRowVisible(3, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, false);
GcSpreadSheet1.Sheets(0).SetActiveViewport(0, 0) GcSpreadSheet1.Sheets(0).SetColumnVisible(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, False) GcSpreadSheet1.Sheets(0).SetRowVisible(3, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, False)
Target Platforms: Windows Server 2012, Windows RT