Page 1 of 1

Path of source of image element

Posted: Thu Mar 10, 2011 3:53 pm
by exheusden
One of the Basic Properties of an Image element is "Source" and it contains the path of the file that is shown in the element.

How can the contents of this property be retrieved i.e. the path name?

(I have tried get the source of image "imageName" for example, but nothing has worked for me.)

Re: Path of source of image element

Posted: Thu Mar 10, 2011 4:24 pm
by Dixie
hi..

put the filename of image "imageName"
This will put the filepath of the image file into the message box.

be well

Dixie

Re: Path of source of image element

Posted: Thu Mar 10, 2011 4:25 pm
by bn
Hi exheusden,

try

Code: Select all

put the filename of image "myImage" into myVar
if it is a referenced image, i.e. loaded from a file on disk it gives you the path and name of the file, if it is not a referenced image it will be empty.

Kind regards

Bernd

Re: Path of source of image element

Posted: Thu Mar 10, 2011 4:51 pm
by exheusden
Thank you Dixie and Bernd.

Just what I needed.