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.| 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.For an example, refer to AnnGroupObject.
(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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code