Please enable JavaScript to view this site.

Vensim Help

Displays the named bitmap in the designated location.  This is simpler than placing the bitmap into a sketch view and displaying that view.

BITMAP,"logo.bmp",10,10,0,0,

Will place the bitmap contained in logo.bmp near the upper left corner.  Use the size 0,0 to have the bitmap display at its natural size.  If you specify a size the bitmap will be shrunk or stretched to fill that size (the results of shrinking or stretching a bitmap are not always that good).

Note that the name of the bitmap can also be a string variable that will evaluate to a file name.  This is useful if you have bitmaps associated with different subscripts and want to display one for the selected subscript.  For example:

product : glue, nails ~~|

bitmap file[glue] :IS: 'glue.bmp' ~~|

bitmap file[nails] :IS: 'nails.bmp' ~~|

BITMAP,"bitmap file[product]",5,5,0,0

BUTTON,"Glue",5,90,,,,,"SPECIAL>SUBSCRIPT|product|glue",BITMAP

BUTTON,"Nails",15,90,,,,,"SPECIAL>SUBSCRIPT|product|nails",BITMAP