Declaration
property PNG_TextKeys: TStringList;
Description
Contains the keys associated with the list of values (
PNG_TextValues property).
Note: PNG_TextKeys and
PNG_TextValues must contain the same number of entries. Only uncompressed text is supported.
Examples
// Add author and other text info to a PNG file
ImageEnView1.IO.Params.PNG_TextKeys.Add('Author');
ImageEnView1.IO.Params.PNG_TextValues.Add('Letizia');
ImageEnView1.IO.Params.PNG_TextKeys.Add('Subject');
ImageEnView1.IO.Params.PNG_TextValues.Add('Colosseo');
ImageEnView1.IO.SaveToFile('D:\output.png');
// read all text info from a PNG
for i := 0 to ImageEnView1.IO.Params.PNG_TextKeys.Count - 1 do
begin
key := ImageEnView1.IO.Params.PNG_TextKeys[i];
value := ImageEnView1.IO.Params.PNG_TextValues[I];
end;