GrapeCity.Windows.SpreadSheet.UI Namespace > SheetView Class > SetViewportTopRow Method : SetViewportTopRow(Int32) Method |
'Declaration Public Overloads Sub SetViewportTopRow( _ ByVal value As System.Integer _ )
'Usage Dim instance As SheetView Dim value As System.Integer instance.SetViewportTopRow(value)
public void SetViewportTopRow( System.int value )
GcSpreadSheet1.AddColumnViewport(0, 100); GcSpreadSheet1.AddRowViewport(0, 80); GcSpreadSheet1.View.SetViewportLeftColumn(1); GcSpreadSheet1.View.SetViewportTopRow(1); GcSpreadSheet1.View.SetViewportLeftColumn(1, 1); GcSpreadSheet1.View.SetViewportTopRow(1, 1);
GcSpreadSheet1.AddColumnViewport(0, 100) GcSpreadSheet1.AddRowViewport(0, 80) GcSpreadSheet1.View.SetViewportLeftColumn(1) GcSpreadSheet1.View.SetViewportTopRow(1) GcSpreadSheet1.View.SetViewportLeftColumn(1, 1) GcSpreadSheet1.View.SetViewportTopRow(1, 1)
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)