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 _
)
public ShapeCollection(
    ShapeContainer owner
)
public:
ShapeCollection(
    ShapeContainer^ owner
)
new : 
        owner:ShapeContainer -> ShapeCollection
public function ShapeCollection(
    owner : ShapeContainer
)

Parameters

Remarks

A ShapeCollection is automatically created for each ShapeContainer.

.NET Framework Security

See Also

Reference

ShapeCollection Class

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)