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
 Hidden Layer(s)

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
spetric Posted - May 03 2019 : 04:45:21
Is it possible to have layers that are not shown in TImageEnLayerMView?
Some kind of hidden (internal) layers.

TIA,
Siniša
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 07 2019 : 17:13:31
Hi

Yes, there is no property (at this stage) to exclude a layer from TImageEnLayerMView, so you can just use tag for this.

Layer.Tag := ord( showThisLayer );


function TMyForm.IELayerMView1IncludeLayer(Sender: TObject; LayerIndex: integer; Layer: TIELayer; var Include: Boolean);
begin
  Include := Layer.Tag = 1;
end;


Nigel
Xequte Software
www.imageen.com
spetric Posted - May 06 2019 : 16:23:03
Hi Nigel,

Tag property seems a good approach.
However, I still must check tag value inside IncludeLayer event, right?
xequte Posted - May 04 2019 : 20:26:36
Hi Sinisa

It would depend what rule determines whether a layers is to be hidden or not.

If it is too slow to check in the event, then just use the tag property:

https://www.imageen.com/help/TIELayer.Tag.html


Nigel
Xequte Software
www.imageen.com
spetric Posted - May 04 2019 : 14:54:01
Thanks Yogi.

So, in order to hide some layers (not only mask) what would be the best approach:
to use tag or group them under same group ID?

Siniša
yogiyang Posted - May 04 2019 : 08:59:17
Check Nigel's reply to my similar query:
https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=3782


Yogi Yang