GrapeCity.Xaml.SpreadSheet.UI
AdjustRowViewport Method
Example 


The row viewport index to adjust, it adjusts the row viewport and its next row viewport.
The row height adjusted offset.
Adjusts the adjacent row viewport's height.
Syntax
'Declaration
 
Public Sub AdjustRowViewport( _
   ByVal rowViewportIndex As Integer, _
   ByVal deltaViewportHeight As Double _
) 
'Usage
 
Dim instance As SheetView
Dim rowViewportIndex As Integer
Dim deltaViewportHeight As Double
 
instance.AdjustRowViewport(rowViewportIndex, deltaViewportHeight)
public void AdjustRowViewport( 
   int rowViewportIndex,
   double deltaViewportHeight
)

Parameters

rowViewportIndex
The row viewport index to adjust, it adjusts the row viewport and its next row viewport.
deltaViewportHeight
The row height adjusted offset.
Example
This example uses the AdjustRowViewport 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)
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options