Spread Silverlight Documentation
ZoomUndoAction Constructor
Example 


GrapeCity.Windows.SpreadSheet.UI.UndoRedo Namespace > ZoomUndoAction Class : ZoomUndoAction Constructor
The zoomed worksheet.
The new zoom factor on the worksheet.
Creates a new instance of the ZoomUndoAction class.
Syntax
'Declaration
 
Public Function New( _
   ByVal sheet As Worksheet, _
   ByVal newZoomFactor As System.Single _
)
'Usage
 
Dim sheet As Worksheet
Dim newZoomFactor As System.Single
 
Dim instance As New ZoomUndoAction(sheet, newZoomFactor)
public ZoomUndoAction( 
   Worksheet sheet,
   System.float newZoomFactor
)

Parameters

sheet
The zoomed worksheet.
newZoomFactor
The new zoom factor on the worksheet.
Example
This example uses the zoom action.
var action = new GrapeCity.Windows.SpreadSheet.UI.UndoRedo.ZoomUndoAction(GcSpreadSheet1.Sheets[0], 3);
GcSpreadSheet1.DoCommand(action);
Dim action As New GrapeCity.Windows.SpreadSheet.UI.UndoRedo.ZoomUndoAction(GcSpreadSheet1.Sheets(0), 3)
GcSpreadSheet1.DoCommand(action)
See Also

Reference

ZoomUndoAction Class
ZoomUndoAction Members