Sets the index of the topmost row of the specified viewport for the specified sheet.
            
            
            
 Syntax
Syntax
| Visual Basic (Usage) |  Copy Code | 
|---|
| Dim instance As SpreadView
Dim sheetIndex As Integer
Dim rowViewportIndex As Integer
Dim value As Integer
 
instance.SetViewportTopRow(sheetIndex, rowViewportIndex, value) | 
Parameters
- sheetIndex
- Sheet index
- rowViewportIndex
- Viewport row index
- value
- Index of the column to set as the leftmost of that viewport
 
             Exceptions
Exceptions
						
            
            Remarks
            
            
             Example
Example
| C# |  Copy Code | 
|---|
| FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
sv.AddViewport(0,0);
sv.SetViewportTopRow(0, 0, 5);
 | 
| Visual Basic |  Copy Code | 
|---|
| Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
sv.AddViewport(0, 0)
sv.SetViewportTopRow(0, 0, 5)
 | 
 Requirements
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
 See Also
See Also