Spread WPF Documentation
ZoomUndoAction Constructor
Example 


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)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

ZoomUndoAction Class
ZoomUndoAction Members

 

 


Copyright © GrapeCity, inc. All rights reserved.