Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / CreateShape Method
The AutoShapeType value that indicates the shape type.


In This Topic
    CreateShape Method
    In This Topic
    Creates the corresponding shape base on the specified AutoShapeType value.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateShape( _
       ByVal type As AutoShapeType _
    ) As Shape
    'Usage
     
    
    Dim type As AutoShapeType
    Dim value As Shape
     
    value = WorksheetDrawing.CreateShape(type)
    public static Shape CreateShape( 
       AutoShapeType type
    )

    Parameters

    type
    The AutoShapeType value that indicates the shape type.

    Return Value

    The new created shape.
    See Also