Spread Silverlight Documentation
SetViewportInfo Method
Example 


The value.
Sets the viewport information to the current sheet.
Syntax
'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
)

Parameters

value
The value.
Example
This example uses the SetViewportInfo method.
GrapeCity.Windows.SpreadSheet.Data.ViewportInfo vinfo = new GrapeCity.Windows.SpreadSheet.Data.ViewportInfo(gcSpreadSheet1.Sheets[0], 1, 1);            
gcSpreadSheet1.Sheets[0].SetViewportInfo(vinfo);
Dim vinfo As New GrapeCity.Windows.SpreadSheet.Data.ViewportInfo(GcSpreadSheet1.Sheets(0), 1, 1)
GcSpreadSheet1.Sheets(0).SetViewportInfo(vinfo)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.