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
 ImageEnView1.CurrentLayer.DrawOuter := true doesn't work on higher index layer
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

wiziple

Korea
6 Posts

Posted - Apr 24 2022 :  00:58:07  Show Profile  Reply
Hello,

I wanted to display DrawOuter option for all layers, so I enabled ImageEnView.CurrentLayer.DrawOuter := true on OnNewLayer event.
ImageEnView1.CurrentLayer.DrawOuter := true;

However, the layers that higher index the current layer didn't get grayed.

Do you have any idea?

attach/wiziple/202242405738_Layers_AllTypes.zip
78.67 KB





xequte

38189 Posts

Posted - Apr 25 2022 :  13:59:49  Show Profile  Reply
Did you call Update after setting DrawOuter := true?

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

wiziple

Korea
6 Posts

Posted - Apr 25 2022 :  21:39:14  Show Profile  Reply
Yes, it doesn't matter with calling Update. Please check the attached screenshots. And when you see the second screenshot, DrawOuter doesn't gray the other 2 rectangles.
Go to Top of Page

xequte

38189 Posts

Posted - Apr 27 2022 :  22:39:29  Show Profile  Reply
OK, thanks. I'll add that to to-do list for further investigation.

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

xequte

38189 Posts

Posted - Sep 22 2022 :  23:28:54  Show Profile  Reply
Hi

I cannot reproduce that. Are you using the latest version? Can you reproduce it in our demos? Are you sure you enabled DrawOuter for all layers?

e.g.
ImageEnView1.LayersSetProperties( LYR_ALL_LAYERS, IELP_DrawOuter, True );


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