Gets the index of the rightmost column of cells in a viewport.
Overload | Description |
---|---|
GetViewportRightColumn(Int32) | Gets the index of the rightmost column of the specified viewport column. |
GetViewportRightColumn(Int32,Int32) | Gets the index of the rightmost column of the specified viewport column. |
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 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