ImageEn, unit iexMetaHelpers |
|
TIEMetaListView.AssignTo
Declaration
function AssignTo(Dest: TObject; AMetaTypes: TIEMetaTypes): Boolean; overload;
procedure AssignTo(const Filename: string); overload;
Description
Assigns the meta-data in the control to one of the following:
◼TImageEnView
◼TImageEnMView
◼TIOParams
◼TIEBitmap (with
Params enabled)
◼Image filename (Same as calling
SaveMetaToFile)
◼Text filename (CSV or plain text)
Result is True if the meta-data in the destination is updated (i.e. result will be false if the meta-data has not been edited)
Note:
◼When outputting a text file, an exception will be raised if there is no data to output
◼For image files, an exception will be raised if the image file does not exist, or is not JPEG or TIFF
// Manually update the params for the image in a TImageEnView (if you have not attached it)
IEMetaListView1.AssignTo( ImageEnView1 );
// Save content to a CSV file
IEMetaListView1.AssignTo( 'D:\ImageInfo.csv' );