GrapeCity.Xaml.SpreadSheet.UI
GetViewportRightColumn(Int32) Method
Example 


GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class : GetViewportRightColumn(Int32) Method
The column viewport index.
Gets the column viewport's right column index.
Syntax
'Declaration
 
Public Function GetViewportRightColumn( _
   ByVal columnViewportIndex As Integer _
) As Integer
'Usage
 
Dim instance As SheetView
Dim columnViewportIndex As Integer
Dim value As Integer
 
value = instance.GetViewportRightColumn(columnViewportIndex)
public int GetViewportRightColumn( 
   int columnViewportIndex
)

Parameters

columnViewportIndex
The column viewport index.

Return Value

The right column index in the column viewport.
Example
This example uses the GetViewportRightColumn method.
TextBox1.Text = GcSpreadSheet1.View.GetViewportBottomRow(0).ToString();
//TextBox1.Text = GcSpreadSheet1.View.GetViewportLeftColumn(0).ToString();
//TextBox1.Text = GcSpreadSheet1.View.GetViewportRightColumn(0).ToString();
//TextBox1.Text = GcSpreadSheet1.View.GetViewportTopRow(0).ToString();
TextBox1.Text = GcSpreadSheet1.View.GetViewportBottomRow(0).ToString()
'TextBox1.Text = GcSpreadSheet1.View.GetViewportLeftColumn(0).ToString()
'TextBox1.Text = GcSpreadSheet1.View.GetViewportRightColumn(0).ToString()
'TextBox1.Text = GcSpreadSheet1.View.GetViewportTopRow(0).ToString()
See Also

Reference

SheetView Class
SheetView Members