Gets a single metadata tag stored in the image.
Syntax
rv = Send_Message(Ctrl, "OLE.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 11 recognized models:
Name |
---|
Comments |
ExifMain |
ExifAdvanced |
ExifGPS |
ExifMaker |
ExifInterop |
IPTC |
XMP |
GeoTiff |
Animation |
Custom |
This method will return a tag in the following @FM delimited structure:
Pos | Name | Type | Description |
---|---|---|---|
<1> | Key | Text | The tag's key ID |
<2> | Value | Text | The tag's value |
<3> | Description | Text | 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")