Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class AnnGroupObject Inherits AnnObject Implements IAnnProtractorObject, IAnnRulerObject, IAnnTextObject |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[SerializableAttribute()] public class AnnGroupObject : AnnObject, IAnnProtractorObject, IAnnRulerObject, IAnnTextObject |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class AnnGroupObject : public AnnObject, IAnnProtractorObject, IAnnRulerObject, IAnnTextObject |
This example moves all the objects from a container into a new group object.
Visual Basic | Copy Code |
---|---|
Private Sub AnnGroupObject_AnnGroupObject(ByVal container As AnnContainer) |
C# | Copy Code |
---|---|
private void AnnGroupObject_AnnGroupObject(AnnContainer container) |
The annotation group object contains a collection of annotation objects from any class that is derived from theAnnObject class.
This collection of objects can be treated as one while they are in a group. An annotation object
can be in either a container or a group but not both at the same time.
For more information about grouping and ungrouping, refer to Grouping and Ungrouping Annotation Objects.
System.Object
Leadtools.Annotations.AnnDrawable
Leadtools.Annotations.AnnObject
Leadtools.Annotations.AnnGroupObject
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family