Page 1 of 1
how can i paste a bmp figure into venapll
Posted: Mon Apr 24, 2006 4:55 pm
by ahmadazar
i would like anyone to help me how can i paste a picture inside any view in the Vensim application. i f you have any example please send it to me to follow it.
thanks very much
Posted: Mon Apr 24, 2006 9:07 pm
by bob@vensim.com
You can put a .bmp file in a sketch with the comment tool - just click on the import button.
There is also a BITMAP Venapp control - see Chapter 4 of the DSS Reference Suppement for that.
Posted: Mon Apr 24, 2006 9:28 pm
by ahmadazar
i can't i read the chapter but i can't do it.
help me sir please
Posted: Tue Apr 25, 2006 12:21 am
by bob@vensim.com
below will work - replace temp0000.bmp with any bitmap file that you have.
:SCREEN SCREEN1
SCREENFONT,Times New Roman|10||0-0-0|-1--1--1
PIXELPOS,0
BITMAP,"temp0000.bmp",5,5,0,0
Posted: Tue Apr 25, 2006 8:01 am
by ahmadazar
where can i put the bitmap file?
for example: i put the image "ahmad1.bmp" in drive F in my computer. and i want to paste it in any view of venapp.
when i wright your commands and tested the screen the screen appeared blank. so that i think that my error is in the place that i put the bmp file in it.
is it necessary to put it in a specific directory to be called by vensim?
Posted: Tue Apr 25, 2006 12:30 pm
by bob@vensim.com
the bitmap file should be in the same directory the model and vanpp file are in. This is true for all files used by the Venapp.
Posted: Tue Apr 25, 2006 1:54 pm
by ahmadazar
thanks bob very very much. yes it must be in the same directory the model and vanpp file are in.
thanks again