ImageEn, unit iexMetaHelpers

TListViewHelper.ReadListFromIPTC

TListViewHelper.ReadListFromIPTC


Declaration

function ReadListFromIPTC(IOParams : TIOParams) : Boolean; overload;
function ReadListFromIPTC(const sFilename : string) : Boolean; overload;


Description

Fill a TListView with the IPTC properties of the current image, or one loaded from file.
Result is true if the file has any IPTC fields specified.

Note: You may wish to call InitializeList before ReadListFromIPTC to automatically assign the optimal layout to the TListView


Examples

// Display the IPTC properties of the current image
MyIPTCListView.ReadListFromIPTC( ImageEnView1.IO.Params );

// Read-only display of IPTC properties of a file
MyIPTCListView.ReadListFromIPTC( 'C:\MyImage.jpeg', True );