ImageEn, unit iexMetaHelpers |
|
TIOParamsHelper.XMP_AsDateTime
Declaration
property XMP_AsDateTime [Field : Integer]: TDateTime; (read-only)
Description
A shortcut function that calls:
Result := Dict.GetDictionary( 'XMP' ).GetString( Field, True )
And then uses
EXIFDateToDateTime to convert the value to a TDateTime (as XMP date strings are the same as EXIF).
Any XMP field, such as xmp:CreateDate, can be specified. Result is 0 if the field is not found or not a valid date field. Constants are available
common XMP fields
Note:
◼You must add iexMetaHelpers to your uses clause to access this property
◼Delphi/C++ 2005 or newer is required
// Return the creation date
dtCreateDate := ImageEnView1.IO.Params.XMP_AsDateTime[ XMP_CreateDate ];
See Also
◼XMP_AsStr
◼XMP_AsInt
◼XMP_Info
◼Dict