Spread WPF Documentation
AdjustColumnViewport Method
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > SheetView Class : AdjustColumnViewport Method
The column viewport index to adjust, it adjusts the column viewport and its next column viewport.
The column width adjusted offset.
Adjusts the adjacent column viewport's width.
Syntax
'Declaration
 
Public Sub AdjustColumnViewport( _
   ByVal columnViewportIndex As System.Integer, _
   ByVal deltaViewportWidth As System.Double _
) 
'Usage
 
Dim instance As SheetView
Dim columnViewportIndex As System.Integer
Dim deltaViewportWidth As System.Double
 
instance.AdjustColumnViewport(columnViewportIndex, deltaViewportWidth)
public void AdjustColumnViewport( 
   System.int columnViewportIndex,
   System.double deltaViewportWidth
)

Parameters

columnViewportIndex
The column viewport index to adjust, it adjusts the column viewport and its next column viewport.
deltaViewportWidth
The column width adjusted offset.
Example
This example uses the AdjustColumnViewport method.
GcSpreadSheet1.AddColumnViewport(0, 100);
GcSpreadSheet1.AddRowViewport(0, 80);
GcSpreadSheet1.View.AdjustColumnViewport(0, 20);
GcSpreadSheet1.View.AdjustRowViewport(0, 10);
GcSpreadSheet1.AddColumnViewport(0, 100)
GcSpreadSheet1.AddRowViewport(0, 80)
GcSpreadSheet1.View.AdjustColumnViewport(0, 20)
GcSpreadSheet1.View.AdjustRowViewport(0, 10)
See Also

Reference

SheetView Class
SheetView Members