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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Programmatically select and crop image

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
DmitriL Posted - Jul 15 2019 : 03:57:38
Hi,

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.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 15 2019 : 19:32:52
Hi

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:

http://www.imageen.com/help/TImageEnView.SelectEllipse.html

Nigel
Xequte Software
www.imageen.com