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


GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class > SetViewportLeftColumn Method : SetViewportLeftColumn(Int32) Method
The column index.
Sets the active column viewport's left column.
Syntax
'Declaration
 
Public Overloads Sub SetViewportLeftColumn( _
   ByVal value As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim value As Integer
 
instance.SetViewportLeftColumn(value)
public void SetViewportLeftColumn( 
   int value
)

Parameters

value
The column index.
Example
This example uses the SetViewportLeftColumn method.
GcSpreadSheet1.AddColumnViewport(0, 100);
GcSpreadSheet1.AddRowViewport(0, 80);
GcSpreadSheet1.View.SetViewportLeftColumn(1);
GcSpreadSheet1.View.SetViewportTopRow(1);
GcSpreadSheet1.View.SetViewportLeftColumn(1, 1);
GcSpreadSheet1.View.SetViewportTopRow(1, 1);
GcSpreadSheet1.AddColumnViewport(0, 100)
GcSpreadSheet1.AddRowViewport(0, 80)
GcSpreadSheet1.View.SetViewportLeftColumn(1)
GcSpreadSheet1.View.SetViewportTopRow(1)
GcSpreadSheet1.View.SetViewportLeftColumn(1, 1)
GcSpreadSheet1.View.SetViewportTopRow(1, 1)
See Also

Reference

SheetView Class
SheetView Members
Overload List