LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Objects Property
See Also 
Leadtools.Annotations Namespace > AnnGroupObject Class : Objects Property



The Objects Property is available in LEADTOOLS Document and Medical Imaging toolkits.

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;}
C++/CLI 
public:
virtual property RasterCollection<AnnObject^>^ Objects {
   RasterCollection<AnnObject^>^ get();
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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