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


Glossary Item Box

Gets the width of the specified viewport column for the active sheet. Gets the width of the viewport column.

Overload List

OverloadDescription
GetViewportWidth(Int32)Gets the width of the specified viewport column for the active sheet.  
GetViewportWidth(Int32,Int32)Gets the width of the specified viewport column of the specified sheet.  

Remarks

A viewport column is a column of viewports on a sheet that has been divided up with split bars. Each viewport column has its own horizontal scroll bar. For more information on viewports, refer to Customizing Viewports.

This method allows the user to retrieve specific bounding values for a specific viewport on the active sheet.
These four methods are meant to work in conjunction with each other:

These are equivalent to the FpSpread class GetViewportRectangle method.

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

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

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