←Select platform

Metadata Property

Summary
Gets the metadata associated with this object.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public Dictionary<string, string> Metadata { get; } 
@property (nonatomic, strong, readonly) NSMutableDictionary<NSString *, NSString *> *metadata; 
public java.util.Map<String, String> getMetadata() 
public:  
   property Dictionary<String^, String^>^ Metadata 
   { 
      Dictionary<String^, String^>^ get() 
   } 
Metadata # get  (AnnObject) 

Property Value

A dictionary of (System.String, System.String) that contains the generic metadata associated with this object. The default value is a dictionary with the items described in the remarks section.

Remarks

The object metadata can be used to store any generic values associated with an annotation object. By default, the AnnObject will create a dictionary with the following keys/values and set it in Metadata:

Key Value
"Subject" (SubjectMetadataKey) System.String.Empty
"Author" (AuthorMetadataKey) System.String.Empty
"Modified" (ModifiedMetadataKey) System.String.Empty
"Title" (TitleMetadataKey) System.String.Empty
"Content" (ContentMetadataKey) System.String.Empty
"Created" (CreatedMetadataKey) System.String.Empty

The metadata are saved and loaded as is by AnnCodecs to/from annotation files or streams.

Currently, the metadata is not used by the LEADTOOLS annotation toolkit for any special purposes. It is a user-define field.

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Help Version 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.