GrapeCity.Xaml.SpreadSheet.Data Namespace > ViewportInfo Class > ViewportInfo Constructor : ViewportInfo Constructor(Worksheet,Int32,Int32) |
'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 )
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)
Target Platforms: Windows Server 2012, Windows RT