GrapeCity.Xaml.SpreadSheet.Data
ViewportInfo Constructor(Worksheet,Int32,Int32)
Example 


The sheet.
The row viewport count.
The column viewport count.
Initializes a new instance of the ViewportInfo class.
Syntax
'Declaration
 
Public Function New( _
   ByVal sheet As Worksheet, _
   ByVal rowViewportCount As Integer, _
   ByVal columnViewportCount As Integer _
)
'Usage
 
Dim sheet As Worksheet
Dim rowViewportCount As Integer
Dim columnViewportCount As Integer
 
Dim instance As New ViewportInfo(sheet, rowViewportCount, columnViewportCount)
public ViewportInfo( 
   Worksheet sheet,
   int rowViewportCount,
   int columnViewportCount
)

Parameters

sheet
The sheet.
rowViewportCount
The row viewport count.
columnViewportCount
The column viewport count.
Example
This example creates ViewportInfo object.
GrapeCity.Xaml.SpreadSheet.Data.ViewportInfo vinfo = new GrapeCity.Xaml.SpreadSheet.Data.ViewportInfo(gcSpreadSheet1.Sheets[0], 1, 1);            
gcSpreadSheet1.Sheets[0].SetViewportInfo(vinfo);
Dim vinfo As New GrapeCity.Xaml.SpreadSheet.Data.ViewportInfo(GcSpreadSheet1.Sheets(0), 1, 1)
GcSpreadSheet1.Sheets(0).SetViewportInfo(vinfo)
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

ViewportInfo Class
ViewportInfo Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options