GetMetaDataTag Method
Gets a single metadata tag stored in the image.
Definition
Tag = GetMetaDataTag(Model, Key)
Parameters
| Parameter | Description |
|---|---|
| Model | The model/category of metadata to get |
| Key | The key ID of the tag to get |
Returns
Multivalued tag structure
Remarks
The GetMetaDataTag method gets a single metadata tag associated with a given model. In most images, metadata is grouped or categorized into models. Within a model is a series of tags. Each tag has a key, a value, and a description. There are currently 10 recognized models:
- Comments
- ExifMain
- ExifAdvanced
- ExifGPS
- ExifMaker
- ExifInterop
- IPTC
- XMP
- GeoTiff
- Animation
This method will return a tag in the following @FM delimited structure:
| Pos | Name | Description |
|---|---|---|
| <1> | Key | The tag's key ID |
| <2> | Value | The tag's value |
| <3> | Description | The tag's description |
To get a list of models stored in the image, use the GetMetaDataModels method. To get all tags for a model, use the GetMetaData method.
Example
// Get the date and time from the EXIF model
Tag = Send_Message(@Window:".OLE_PICTURE", "OLE.GetMetaDataTag", "ExifMain", "DateTime")