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
 ImageEnMView1.FillFromDirectory

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
klausdoege Posted - Feb 17 2015 : 02:17:08
Hello,

I use the following function, and everything works.
ImageEnMView1.FillFromDirectory(verz , -1, false, '', false, '', false, true, iedtFileCreateDateTime, iedtImageDimensions, iedtFilename);

Now I would like but the text from ImagenMview1.imagetoptext[x] in a string output.
with createdate:=ImageEnMView1.ImageTopText[x].Caption;

Unfortunately, I only get this result: creatdate = $IEM_FileCreateDateTime$.
I can in the display the date but see as text '05.02....

What can I do, i need this
Example: createdate = '05.02.2015 12:23:45'



Klaus
www.klausdoege.de
6   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Feb 22 2015 : 07:22:34
Try setting the 8th parameter LoadOnDemand to False. If True (Default), images are only loaded as they are displayed (i.e. not until they are scrolled into view). Set to false to load all images immediately.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
klausdoege Posted - Feb 22 2015 : 02:56:05
Hello Nigel,

yes this help me ,but the problem is after ImageEnMView1.FillFromDirectory(verz , -1, false, '',..);
you must wait a while until the data in ImageenmView are filled.
But I find no way to retrieve it.
onFinishWork does not really work by me?

Klaus
www.klausdoege.de
xequte Posted - Feb 17 2015 : 19:20:12
Hi Klaus

When the image has valid EXIF data, ImageEn will use EXIF_DateTimeOriginal2 in place of the File Create Date.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
klausdoege Posted - Feb 17 2015 : 14:56:30
Hi,
ThumbnailTopText shows 01.04.2014 but imagecreatedate shows 20.12.2014 and 27.09.2014 ImageEditDate shows.
And the helperfunction iCreationDate Show 28.02.2015 ?
How is this to be understood.
The correct ExifCreateDate is 01.04.2014

Klaus
www.klausdoege.de
xequte Posted - Feb 17 2015 : 13:33:00
Hi

Yes, ImageTopText[x].Caption only returns the text that should be displayed, which may be a field such as $IEM_FileCreateDateTime$.

You can access the file fields via properties such as ImageEditDate[x]:

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

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Feb 17 2015 : 07:59:12
iFilename := xxx
iexHelperFunctions.GetFileDetails(iFilename, iFileSize, iCreationDate,
 iModifiedDate);
ImageEnMView1.MIO.Params[i].FileName := iFilename;
ImageEnMView1.ImageTopText[i].Caption := JustName(iFilename) + '  ' + FormatDateTime('mmmm d, yyyy', iModifiedDate);
ImageEnMView1.Update;


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development