Tag Property (original) (raw)
Summary
Gets or sets a user-defined data object that is associated with this object.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public object Tag { get; set; }
@property (nonatomic, strong, nullable) NSObject *tag;
public Object getTag()
public void setTag(Object tag)
public:
property Object^ Tag
{
Object^ get()
void set(Object^ value)
}
Property Value
The user-defined data. The default value is null.
Remarks
The tag is any value that is not used by the LEADTOOLS Annotation toolkit. However, you can use the tag value to store any value you want. For example, you can use it store an index that links this AnnObject to other collections in your program.
Leadtools.Annotations.Engine Assembly