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
 Imageenmview layer thumbnails
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

DMC02766

USA
27 Posts

Posted - Mar 22 2016 :  16:13:17  Show Profile  Reply
I am currently using the below code to fill an imageenmview with images from a directory:

imageenmview.fillfromdirectory(chosendirectory, -1, false, 'lyr', false,'',false,true);


It loads all of the images and everything perfectly although I have a second layer on each that has annotations on it and I would like for those annotations to show up on the thumbnails. Is there a simple way to get those layers to load on the thumbnails? The layers are in a separate .lyr file for each image in the same directory.

Thanks in advance for any help that can be offered..

xequte

38940 Posts

Posted - Mar 22 2016 :  18:03:56  Show Profile  Reply
Hi

Perhaps when saving the layer file you could also save a preview of the image (with a generic file extension). After the fill event, iterate through all the items of the MView and set the bitmap with the preview image (or do so in a draw event).

Not quite relevant, but see also:

http://www.imageen.com/help/TImageEnMView.AnnotationsVisible.html

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