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
 Imageenmview layer thumbnails

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

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
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
DMC02766 Posted - Mar 22 2016 : 16:13:17
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..
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 22 2016 : 18:03:56
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