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
 Question to TImageEnLayerMView

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List


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
klausdoege Posted - Dec 16 2018 : 15:46:50
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.

2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Feb 22 2019 : 14:57:17
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);
  if Layer.IsMask = False then
    Include := False;

Xequte Software
xequte Posted - Dec 17 2018 : 05:41:42
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:

Xequte Software