FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : GetViewportPreferredWidth Method |
Overload | Description |
---|---|
GetViewportPreferredWidth(Int32) | Gets the maximum width for the viewport column. |
GetViewportPreferredWidth(Int32,Int32) | Gets the maximum width for the viewport column for the specified sheet. |
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.
Typically, the first overload is for single-sheet solutions and the second overload is for multiple-sheet solutions.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8