Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / CreateNewShape Method


In This Topic
    CreateNewShape Method
    In This Topic
    Creates a new shape with new WorksheetDrawing.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateNewShape( _
       ByVal type As AutoShapeType, _
       ByVal worksheet As Worksheet, _
       Optional ByVal picture As Boolean _
    ) As Shape
    'Usage
     
    
    Dim type As AutoShapeType
    Dim worksheet As Worksheet
    Dim picture As Boolean
    Dim value As Shape
     
    value = WorksheetDrawing.CreateNewShape(type, worksheet, picture)
    public static Shape CreateNewShape( 
       AutoShapeType type,
       Worksheet worksheet,
       bool picture
    )

    Parameters

    type
    worksheet
    picture
    See Also