Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Objects Property
See Also 
Leadtools.Annotations Namespace > AnnGroupObject Class : Objects Property




Gets the collection of annotation objects (of various classes derived from AnnObject) contained in this AnnGroupObject object.

Syntax

Visual Basic (Declaration) 
Public Overridable ReadOnly Property Objects As RasterCollection(Of AnnObject)
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim value As RasterCollection(Of AnnObject)
 
value = instance.Objects
C# 
public virtual RasterCollection<AnnObject> Objects {get;}
Managed Extensions for C++ 
public: __property virtual RasterCollection<AnnObject> get_Objects();
C++/CLI 
public:
virtual property RasterCollection<AnnObject> Objects {
   RasterCollection<AnnObject> get();
}

Return Value

The collection of AnnObject objects assigned to this AnnGroupObject.

Example

For an example, refer to AnnGroupObject.

Remarks

(Read only) The Objects property is a zero-based indexed collection used to hold all the AnnObject objects assigned to this AnnGroupObject. Since the property is read-only, it cannot be assigned a collection of objects directly. Objects can be added or removed by using the methods inherited from the RasterCollection<AnnObject> class. Use the RasterCollection<AnnObject>.Add method to add individual objects and the Remove method to remove an object. Call the RasterCollection<AnnObject>.Clear method to remove all the objects from the collection.

For more information about grouping and ungrouping, refer to Grouping and Ungrouping Annotation Objects.

Requirements

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

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features