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
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Programmatically select and crop image
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


1 Posts

Posted - Jul 15 2019 :  03:57:38  Show Profile  Reply

I'd like to programmatically make a selection and crop it. I prefer making a selection in a circle. I tried using SetSelectionGripStyle and SetLayersGripStyle but without result. It seems there is no rectangle for selection set when using these functions.

ImageEnView->SetSelectionGripStyle(clWhite, clWhite, bsSolid, 5, true, iegsCircle);
ImageEnView->SetLayersGripStyle(clBlack, clWhite, bsSolid, 5, iegsCircle);

Below you find the result I prefer.

Can you please help me out? Thank you in advance.


4937 Posts

Posted - Jul 15 2019 :  19:32:52  Show Profile  Reply

You are setting the styling of the selection grips. But it sounds like you are trying to make a selection? Is that correct?

Programmatically create a circular selection using:

Xequte Software
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: