Page 1 of 1

How do you clear an image?

Posted: Mon Nov 24, 2008 1:19 am
by Ron Zellner
What's the best way to clear (erase) the content of an image that has just been drawn in with the pencil tool?
How would I set the content of one image to that of another?

Posted: Mon Nov 24, 2008 7:50 am
by Janschenkel
Image objects have a 'text' property that you can 'set' which allows you to copy the contents of one image to another one.

Code: Select all

set the text of image 2 to the text of image 1
or even shorter

Code: Select all

put image 1 into image 2
HTH,

Jan Schenkel.

Posted: Mon Nov 24, 2008 9:16 am
by Klaus
Hi Ron

to clear an image:
...
put empty into img "your image here"
...


Best

Klaus