GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : SetViewportInfo Method |
'Declaration Public Sub SetViewportInfo( _ ByVal value As ViewportInfo _ )
'Usage Dim instance As Worksheet Dim value As ViewportInfo instance.SetViewportInfo(value)
public void SetViewportInfo( ViewportInfo value )
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