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
 Question to TImageEnLayerMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Dec 16 2018 :  15:46:50  Show Profile  Reply
Hello,
It is possible in the component TImageEnLayerMView
not to display a certain layer.
Although she is seen in the picture?
I need this for work with a special layer.

Klaus
www.klausdoege.de

xequte

38180 Posts

Posted - Dec 17 2018 :  05:41:42  Show Profile  Reply
Hi Klaus

It is not possible at this time, though I may add this as a feature.

You can do it manually by using a TImageEnMView, calling AssignLayers and then removing the unwanted layer (whenever the layers change).

See the example code at:

https://www.imageen.com/help/TImageEnMView.AssignLayers.html



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

xequte

38180 Posts

Posted - Feb 22 2019 :  14:57:17  Show Profile  Reply
Hi Klaus

This will be possible in 8.3.0 (ready later today, if all goes to plan) using the OnIncludeLayer event.


// Exclude masks from view
function TMyForm.IELayerMView1IncludeLayer(Sender: TObject; LayerIndex: integer; Layer: TIELayer; var Include: Boolean);
begin
  if Layer.IsMask = False then
    Include := False;
end;


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