ImageEn, unit iexBitmaps

TIEIPTCInfoList.StringItem

TIEIPTCInfoList.StringItem


Declaration

property StringItem[idx: integer]: string;


Description

Returns the string associated with item, idx. The item must be of string type.


Examples

// Read the PhotoShop image description
ImageEnView1.IO.LoadFromFile('C:\image.jpg');
Idx := ImageEnView1.IO.Params.IPTC_Info.IndexOf(2, 120);
Caption := ImageEnView1.IO.Params.IPTC_Info.StringItem[idx];

// write the image description
ImageEnView1.IO.Params.IPTC_Info.StringItem[idx] := 'This is the new caption';
ImageEnView1.IO.SaveToFile('D:\image.jpg');