4D v13.4GET PICTURE METADATA |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
GET PICTURE METADATA
GET PICTURE METADATA
The GET PICTURE METADATA command can be used to read the contents of the metadata (or meta-tags) found in picture (4D picture field or variable). For more information about metadata, please refer to the description of the SET PICTURE METADATA command. In the metaName parameter, pass a string specifying the type of metadata to retrieve. You can pass:
Pass the variable intended to receive the metadata in the metaContents parameter.
Use of DOM tree structures $xml:=DOM Create XML Ref("Root") //Creation of an XML DOM tree Use of variables C_DATE($dateAsDate) Reception of tags with multiple values in arrays ARRAY TEXT($tTkeywords;0) After execution of the command, arrTkeywords contains for example: $arrTkeywords{1}="France" Reception of tags with multiple values in a Text variable C_TEXT($vTwords;0) After execution of the command, vTwords contains for example "France;Europe". The OK system variable returns 1 if the retrieval of the metadata has proceeded correctly and 0 if an error occurs or if at least one of the tags is not found. In all cases, the any values that can be read are returned. |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D v12 SEE ALSO
GET PICTURE KEYWORDS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||