TIEIPTCInfoList.StringItem
Declaration
property StringItem[Index: Integer]: string;
Description
Returns the string associated with item,
Index. 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');