CreateGroup Method
Description
Creates an empty Group item using a previously registered group class. All graphics created after calling this function but prior to calling CloseItem, PlaceGroup, Release or UpdateItem will be part of this group.
Syntax
Visual Basic |
---|
Public Function CreateGroup( _ ByVal groupType As String _ ) As Integer |
Parameters
- groupType
- The type, or class, of group to create.
Remarks
Before this command is used the group class must be registered using RegisterGroupType. RegisterGroupType is typically called only once at the start of an application.
If an empty string is given the group will be automatically exploded when placed, leaving the component items ungrouped.
Available: GEO D OD OM SISpy
Group:
Example
sis.CreateGroup ("Station")