how can i paste a bmp figure into venapll

Use this forum to post Vensim related questions.
Post Reply
ahmadazar
Member
Posts: 30
Joined: Fri Feb 04, 2005 5:09 pm

how can i paste a bmp figure into venapll

Post 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
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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.
ahmadazar
Member
Posts: 30
Joined: Fri Feb 04, 2005 5:09 pm

Post by ahmadazar »

i can't i read the chapter but i can't do it.

help me sir please
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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
ahmadazar
Member
Posts: 30
Joined: Fri Feb 04, 2005 5:09 pm

Post 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?
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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.
ahmadazar
Member
Posts: 30
Joined: Fri Feb 04, 2005 5:09 pm

Post by ahmadazar »

thanks bob very very much. yes it must be in the same directory the model and vanpp file are in.

thanks again
Post Reply