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
 SelectColors and polylin point
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

hamidshali

Iran
51 Posts

Posted - Mar 19 2016 :  02:36:16  Show Profile  Reply
hi
i use SelectColors for select one color in layer..n
it is work and select color in image but when use

 if (ImageEnVect1.Selected) then
 begin
 memo1.Lines.Clear;
  with ImageEnVect1 do
    for i:=0 to ImageEnVect1.PolySelCount-1 do
      memo1.Lines.Add( IntToStr( ImageEnVect1.PolySelPoints[i].X ) + ','+   IntToStr(ImageEnVect1.PolySelPoints[i].Y ) );
 end;


i cannot reach to points in selection

how get points in selection by SelectColors

thanx

xequte

38684 Posts

Posted - Mar 20 2016 :  21:09:06  Show Profile  Reply
Hi

TImageEnView.SelectColors() does not create a polygon selection, but fills the selection mask:

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

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: