Spread Windows Forms 9.0 Product Documentation
RemoveViewport Method (SpreadView)


Removes a row or column of viewports.
Removes a row of viewports or a column of viewports or both.
Overload List
OverloadDescription
RemoveViewport(Int32,Int32)Removes a row or column of viewports.  
RemoveViewport(Int32,Int32,Int32)Removes a row or column of viewports.  
Remarks

A viewport is created when a sheet is divided up with split bars. Each viewport column (column of viewports) has its own horizontal scroll bar. Each viewport row (row of viewports) has its own vertical scroll bar. For more information on viewports, refer to Customizing Viewports.

You must remove an entire viewport row or viewport column; you cannot remove an individual viewport.

The viewport column and viewport row indexes are zero-based, so the first (leftmost) viewport column and first (top) viewport row both have indexes of 0.

Typically, the first method is for single-sheet solutions and the second method is for multiple-sheet solutions.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SpreadView Class
SpreadView Members
AddViewport Method

User-Task Documentation

Customizing Viewports

 

 


Copyright © GrapeCity, inc. All rights reserved.