GrapeCity.Xaml.SpreadSheet.UI
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 Single _
)
'Usage
 
Dim sheet As Worksheet
Dim newZoomFactor As Single
 
Dim instance As New ZoomUndoAction(sheet, newZoomFactor)
public ZoomUndoAction( 
   Worksheet sheet,
   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.Xaml.SpreadSheet.UI.UndoRedo.ZoomUndoAction(GcSpreadSheet1.Sheets[0], 3);
GcSpreadSheet1.DoCommand(action);
Dim action As New GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.ZoomUndoAction(GcSpreadSheet1.Sheets(0), 3)
GcSpreadSheet1.DoCommand(action)
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

ZoomUndoAction Class
ZoomUndoAction Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options