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

pierrotsc

USA
497 Posts

Posted - Mar 20 2019 :  16:03:06  Show Profile  Reply
imageenview.IsEmpty returns true if i have an image loaded on layer 0 and a shape layer on 1.

How can i make it to return false ?
Thanks

xequte

38202 Posts

Posted - Mar 21 2019 :  14:47:27  Show Profile  Reply
Hi

You can use IsEmpty and LayersCount <= 1

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

pierrotsc

USA
497 Posts

Posted - Mar 21 2019 :  14:50:32  Show Profile  Reply
Thanks..So i guess adding a shape layer is an empty layer :)
Go to Top of Page

xequte

38202 Posts

Posted - Mar 21 2019 :  17:57:00  Show Profile  Reply
Hi

The IsEmpty method is a check of the active bitmap. It does not consider multiple layers.

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