GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : SetActiveViewport Method |
'Declaration Public Sub SetActiveViewport( _ ByVal rowViewportIndex As System.Integer, _ ByVal columnViewportIndex As System.Integer _ )
'Usage Dim instance As Worksheet Dim rowViewportIndex As System.Integer Dim columnViewportIndex As System.Integer instance.SetActiveViewport(rowViewportIndex, columnViewportIndex)
public void SetActiveViewport( System.int rowViewportIndex, System.int columnViewportIndex )
gcSpreadSheet1.Sheets[0].SetActiveViewport(0, 0); gcSpreadSheet1.Sheets[0].SetColumnVisible(1, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, false); gcSpreadSheet1.Sheets[0].SetRowVisible(3, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, false);
GcSpreadSheet1.Sheets(0).SetActiveViewport(0, 0) GcSpreadSheet1.Sheets(0).SetColumnVisible(1, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, False) GcSpreadSheet1.Sheets(0).SetRowVisible(3, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, False)
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6