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


AddShape Method (SpreadShapesContainer)
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)

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