Spread Windows Forms 6.0 Product Documentation
RemoveViewport Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : RemoveViewport Method

Glossary Item Box

Removes a row or column of viewports. Removes a row or column of viewports

Overload List

RemoveViewport(Int32,Int32)Removes a row or column of viewports.  
RemoveViewport(Int32,Int32,Int32)Removes a row or column of viewports.  


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.


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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.