Gets a single metadata tag stored in the image.

Syntax

rv = Send_Message(Ctrl, "OLE.GetMetaDataTag", Model, Key)

Parameters

ParameterDescription
ModelThe model/category of metadata to get
KeyThe 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:

PosNameTypeDescription
<1>KeyTextThe tag's key ID
<2>ValueTextThe tag's value
<3>DescriptionTextThe 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")

See Also

GetMetaDataModelsGetMetaData

  • No labels