Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ZoomScaleCommand Class / ZoomScaleCommand Constructor
The processing GrapeCity.Spreadsheet.Worksheet object.
Zoom scale value. Invalid zoom scale value will enable zoom to fit mode by default.


In This Topic
    ZoomScaleCommand Constructor
    In This Topic
    Initializes a new instance of theZoomScaleCommand class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal worksheet As Worksheet, _
       ByVal zoomScale As Integer _
    )
    'Usage
     
    
    Dim worksheet As Worksheet
    Dim zoomScale As Integer
     
    Dim instance As New ZoomScaleCommand(worksheet, zoomScale)
    public ZoomScaleCommand( 
       Worksheet worksheet,
       int zoomScale
    )

    Parameters

    worksheet
    The processing GrapeCity.Spreadsheet.Worksheet object.
    zoomScale
    Zoom scale value. Invalid zoom scale value will enable zoom to fit mode by default.
    See Also