GrapeCity.Xaml.SpreadSheet.UI
GetViewportLeftColumn Method (SheetView)
Example 


The column viewport index.
Gets the column viewport's left column index.
Syntax
'Declaration
 
Public Function GetViewportLeftColumn( _
   ByVal columnViewportIndex As Integer _
) As Integer
'Usage
 
Dim instance As SheetView
Dim columnViewportIndex As Integer
Dim value As Integer
 
value = instance.GetViewportLeftColumn(columnViewportIndex)
public int GetViewportLeftColumn( 
   int columnViewportIndex
)

Parameters

columnViewportIndex
The column viewport index.

Return Value

The left column index in the column viewport.
Example
This example uses the GetViewportLeftColumn 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()
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options