Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / SpreadShapesContainer Class / AddShape Method
Shape to add


In This Topic
    AddShape Method (SpreadShapesContainer)
    In This Topic
    Adds a shape to the container.
    Syntax
    'Declaration
     
    
    Public Overridable Function AddShape( _
       ByVal shape As PSShape _
    ) As Integer
    'Usage
     
    
    Dim instance As SpreadShapesContainer
    Dim shape As PSShape
    Dim value As Integer
     
    value = instance.AddShape(shape)
    public virtual int AddShape( 
       PSShape shape
    )

    Parameters

    shape
    Shape to add
    Exceptions
    ExceptionDescription
    Shape name already exists in the container; shape names must be unique
    No shape name specified or shape name is null or empty; shape names must be non-null and non-empty
    See Also