Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Group() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void Group() |
Managed Extensions for C++ | |
---|---|
public: virtual void Group(); |
C++/CLI | |
---|---|
public: virtual void Group(); |
This method will group one or more objects that are currently being edited into one group. The objects will be removed from the Container and added to a new AnnGroupObject. You can get this new AnnGroupObject by querying the CurrentEditObject property immediately after calling Group.
You can determine if this AnnAutomation contains objects that can be currently grouped together by calling the CanGroup property.
For more information, refer to Undoing Automation Operations.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family