Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
More-Majorum
Posted - Mar 11 2023 : 01:10:06 Good morning, I have a small problem with "ResetInfo",
I would like users to be able to choose the metadata they want to remove by checking boxes, but I can't remove or add items.
In this situation, there is no problem: ImageEnView1.IO.Params.ResetInfo();
But there for example, if the user chooses only "EXIF" and "JPEG markers", I don't know how to add only "ierEXIF" and "ierJPEGMarkers" programmatically...
Can anyone help me ? Thanks in advance.
2 L A T E S T R E P L I E S (Newest First)
More-Majorum
Posted - Mar 12 2023 : 03:00:15 Thank you again for your help. Cordially.
xequte
Posted - Mar 11 2023 : 19:48:31
var
ri: TIEMetaInfoItems;
begin
ri := [];
If chkAnnotations.checked then
ri := ri + [ierAnnotations];
If chkEXIF.checked then
ri := ri + [ierEXIF];
...
ImageEnView1.IO.Params.ResetInfo( ri );
end;