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
 highlighting selection in image
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jrpcguru

USA
273 Posts

Posted - Jan 28 2015 :  16:41:55  Show Profile  Reply
Your annotation demo program uses ImageEnVect to perform hi-lighting like this:

ImageEnVect1.MouseInteractVt := [miPutBox];
ImageEnVect1.ObjBoxHighlight[-1] := true;
ImageEnVect1.ObjBrushColor[-1] := clYellow;
ImageEnVect1.ObjBrushStyle[-1] := bsSolid;

I have just found that ImageenView1.Proc.IntensityRGBAll(0,0,-255);
seems to work also.

I wonder if there is a preferred method of doing hi-liting?

J.R.

xequte

39053 Posts

Posted - Jan 29 2015 :  13:23:07  Show Profile  Reply
Hi JR

These work slightly differently.

miPutBox adds a box object above the image (which can then be merged with the image if needed).

IntensityRGBAll modifies the image or image selection to increase intensity.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: