Add

This method adds a new zone with the specified name to the zone collection. The collection triggers the OnChange event.

The method returns the index of the inserted item within the collection. Use this index to access the item within the collection.

Syntax

Add (NewItem As ISCBCroZone, ItemName As String) As Long
Parameter Description

NewItem

ItemName

Pointer to a SCBCroZone object to be added to the collection.

ItemName

Name of the zone item within the collection. Use this name to access the item within the collection.