ImageEn, unit iexBitmaps

TIOParams.EXIF_DateTime2

TIOParams.EXIF_DateTime2

Declaration

property EXIF_DateTime2 : TDateTime;

Description

The date and time that the image was last modified. It is a TDateTime variant of EXIF_DateTime. If the clock has not been set or the camera doesn't have clock, a zero result will be returned. Usually this returns the same value as EXIF_DateTimeOriginal2.

Note: The returned value is assumed to be local time

Example

// Update EXIF date for the current file
ImageEnView1.IO.Params.EXIF_DateTime2 := Now;
ImageEnView1.IO.Params.EXIF_DateTimeOriginal2 := Now;
ImageEnView1.IO.Params.EXIF_HasEXIFData  := True;
ImageEnView1.IO.InjectJpegEXIF( ImageEnView1.IO.Params.Filename );

See Also

EXIF_DateTime
EXIF_DateTimeOriginal2