Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
yogiyang
Posted - Feb 20 2019 : 05:05:59 Hello,
I have linked ImageEn to ImageEnLayerMView control and things are working as expected.
When ImageEn opens a file with multiple layers all the layers in the files are show properly in ImageEnLayerMView but I have a need to hide all the Mask layers in ImageEnLayerMView.
How to achieve this?
TIA
Yogi Yang
1 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Feb 20 2019 : 15:20:51 In the upcoming 8.3.0, you can use 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;