[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.SpreadShapesContainer.AddShape

AddShape Method

AddShape(PSShape)

Adds a shape to the container.

Declaration
public virtual int AddShape(PSShape shape)
Public Overridable Function AddShape(shape As PSShape) As Integer
Parameters
Type Name Description
PSShape shape

Shape to add

Returns
Type Description
int

Index of shape in the container

Exceptions
Type Condition
Exception

Shape name already exists in the container; shape names must be unique

Exception

No shape name specified or shape name is null or empty; shape names must be non-null and non-empty