property Surface.Elements as Elements
Retrieves the control's elements.

TypeDescription
Elements The surface's Elements collection.
The Elements property gives the access to the surface's Elements collection. The Add method adds programmatically a new element to the surface. Use the Insert method to insert programmatically a child element. Use the InsertControl method to insert programmatically a child element that hosts an inner ActiveX control. The control fires the AddElement event once a new element is added to the Elements collection.  The AllowCreateObject property specifies the combination of keys that allows the user to create objects on the surface. The Links property gives access to the surface's Links collection.