←Select platform

Objects Property

Summary

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

Syntax

C#
VB
C++
public virtual RasterCollection<AnnObject> Objects { get; } 
  
Public Overridable ReadOnly Property Objects As Leadtools.RasterCollection(Of AnnObject) 
public: 
virtual property Leadtools.RasterCollection<AnnObject^>^ Objects { 
   Leadtools.RasterCollection<AnnObject^>^ get(); 
} 

Property Value

The collection of AnnObject objects assigned to this AnnGroupObject.

Remarks

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 (Deprecated).

Example

For an example, refer to AnnGroupObject.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly