Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / ChangeType Method
The drawing objects to process.
new type that shape(s) update to.
Begin arrow head style
End arrow head style


In This Topic
    ChangeType Method (ShapeActionsCommand)
    In This Topic
    Creates a ShapeActionsCommand instance for change shape(s) type.
    Syntax
    'Declaration
     
    
    Public Shared Function ChangeType( _
       ByVal drawingObjects() As Shape, _
       ByVal type As AutoShapeType, _
       Optional ByVal beginArrowheadStyle As Nullable(Of ArrowheadStyle), _
       Optional ByVal endArrowheadStyle As Nullable(Of ArrowheadStyle) _
    ) As ShapeActionsCommand
    'Usage
     
    
    Dim drawingObjects() As Shape
    Dim type As AutoShapeType
    Dim beginArrowheadStyle As Nullable(Of ArrowheadStyle)
    Dim endArrowheadStyle As Nullable(Of ArrowheadStyle)
    Dim value As ShapeActionsCommand
     
    value = ShapeActionsCommand.ChangeType(drawingObjects, type, beginArrowheadStyle, endArrowheadStyle)

    Parameters

    drawingObjects
    The drawing objects to process.
    type
    new type that shape(s) update to.
    beginArrowheadStyle
    Begin arrow head style
    endArrowheadStyle
    End arrow head style
    See Also