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
 How can I get the file path of the selected layer?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

trex994

USA
3 Posts

Posted - Oct 18 2020 :  12:56:15  Show Profile  Reply
Hello,

How can I get the file path of the selected layer?

this code takes but only the file path of the last assigned layer

ShowMessage(ImageEnView1.IO.Params.FileName);


How can I find out the file path of the selected layer, is there a way to do this?

xequte

38180 Posts

Posted - Oct 18 2020 :  17:36:33  Show Profile  Reply
Hi

Layers are images/vectors only. They do not store file source information. You can use the UserData property if you want to store the filename:

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

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