Sets the active viewport for the specified sheet.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SpreadView
Dim sheetIndex As Integer
Dim rowViewportIndex As Integer
Dim columnViewportIndex As Integer
instance.SetActiveViewport(sheetIndex, rowViewportIndex, columnViewportIndex) |
Parameters
- sheetIndex
- Sheet index
- rowViewportIndex
- Viewport row index
- columnViewportIndex
- Viewport column index
Return Value
Indexes are zero-based, so the first item has an index of 0, etc.
Exceptions
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