Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / ChangeSize Method
The drawing objects to process.
Indicates whether setting width/height of shape(s)
The new width/height, in pixels, of the shape(s).


In This Topic
    ChangeSize Method
    In This Topic
    Creates a ShapeActionsCommand instance for change width, height of specified objects.
    Syntax
    'Declaration
     
    
    Public Shared Function ChangeSize( _
       ByVal drawingObjects() As Shape, _
       ByVal isWidthChange As Boolean, _
       ByVal value As Double _
    ) As ShapeActionsCommand
    'Usage
     
    
    Dim drawingObjects() As Shape
    Dim isWidthChange As Boolean
    Dim value As Double
    Dim value As ShapeActionsCommand
     
    value = ShapeActionsCommand.ChangeSize(drawingObjects, isWidthChange, value)

    Parameters

    drawingObjects
    The drawing objects to process.
    isWidthChange
    Indicates whether setting width/height of shape(s)
    value
    The new width/height, in pixels, of the shape(s).
    See Also