Share via


ShapeCollection Constructor

Initializes a new instance of the ShapeCollection class.

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'Declaration
Public Sub New ( _
    owner As ShapeContainer _
)
'Usage
Dim owner As ShapeContainer 

Dim instance As New ShapeCollection(owner)
public ShapeCollection(
    ShapeContainer owner
)
public:
ShapeCollection(
    ShapeContainer^ owner
)
public function ShapeCollection(
    owner : ShapeContainer
)

Parameters

Remarks

A ShapeCollection is automatically created for each ShapeContainer.

.NET Framework Security

See Also

Reference

ShapeCollection Class

ShapeCollection Members

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

Introduction to the Line and Shape Controls (Visual Studio)

How to: Draw Lines with the LineShape Control (Visual Studio)

How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)