Spread Silverlight Documentation
SetViewportLeftColumn(Int32) Method
Example 


The column index.
Sets the active column viewport's left column.
Syntax
'Declaration
 
Public Overloads Sub SetViewportLeftColumn( _
   ByVal value As System.Integer _
) 
'Usage
 
Dim instance As SheetView
Dim value As System.Integer
 
instance.SetViewportLeftColumn(value)
public void SetViewportLeftColumn( 
   System.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)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.