ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 problem with ResetInfo()
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

More-Majorum

France
17 Posts

Posted - Mar 11 2023 :  01:10:06  Show Profile  Reply
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.

xequte

38608 Posts

Posted - Mar 11 2023 :  19:48:31  Show Profile  Reply

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;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

More-Majorum

France
17 Posts

Posted - Mar 12 2023 :  03:00:15  Show Profile  Reply
Thank you again for your help.
Cordially.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: