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


Glossary Item Box

Adds a row or column of viewports. Adds a row or column of viewports.

Overload List

OverloadDescription
AddViewport(Int32,Int32)Adds a row or column of viewports.  
AddViewport(Int32,Int32,Int32)Adds a row or column of viewports to the specified sheet.  

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 add an entire viewport row or viewport column; you cannot add 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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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