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


The column viewport index.
The column index.
Sets the column viewport's left column.
Syntax
'Declaration
 
Public Overloads Overridable Sub SetViewportLeftColumn( _
   ByVal columnViewportIndex As Integer, _
   ByVal value As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim columnViewportIndex As Integer
Dim value As Integer
 
instance.SetViewportLeftColumn(columnViewportIndex, value)
public virtual void SetViewportLeftColumn( 
   int columnViewportIndex,
   int value
)

Parameters

columnViewportIndex
The column viewport index.
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 Server 2012, Windows RT

See Also

Reference

SheetView Class
SheetView Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options