ImageEn, unit iexMetaHelpers |
|
TIOParamsHelper.XMP_WriteToStrings
Declaration
function TIOParamsHelper.XMP_WriteToStrings(Dest : TStrings) : Boolean;
Description
Fills a TStrings object with the XMP properties of the current image in the format:
Description: Value
Result is true if the image has any XMP fields.
Note: Only
common XMP fields are added. Unknown XMP tags are skipped.
Examples
// Output the XMP properties of the current image to a TMemo
ImageEnView1.IO.Params.XMP_WriteToStrings( memo1.Lines );
// Export the XMP list of the current image to a file (exclude deprecated and unknown tags)
aStringList := TStringList.create;
ImageEnView1.IO.Params.XMP_WriteToStrings( aStringList );
aStringList.SaveToFile('D:\XMPList.txt');
aStringList.Free;