ShapeCollection Constructor (ShapeContainer)
Initializes a new instance of the ShapeCollection class.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
public ShapeCollection(
ShapeContainer owner
)
public:
ShapeCollection(
ShapeContainer^ owner
)
new :
owner:ShapeContainer -> ShapeCollection
Public Sub New (
owner As ShapeContainer
)
Parameters
owner
Type: Microsoft.VisualBasic.PowerPacks.ShapeContainerThe ShapeContainer that contains the collection.
Remarks
A ShapeCollection is automatically created for each ShapeContainer.
See Also
ShapeCollection Class
Microsoft.VisualBasic.PowerPacks Namespace
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)
Return to top