Navigation:  Programmer's Reference >

Exporting diagrams

 

Previous pageReturn to chapter overviewNext page

Instead of creating screen dumps from your diagrams you might want to save your diagrams as a bitmap file or Windows meta file for later use, e.g. in your favourite Office writer software. Use FNDPlot_f_save_as for this purpose. Example program 9 demonstrates how to save diagrams as bmp files, example program 5 demonstrates how to save PNG and WMF files.

Example code:

INTEGER Colours=8

! now call the save function, filename="c:\temp\test.bmp", file format=BMP, dimensions=1024x768, 8 bit (=256) colours

Dummy=FNDplot_f_save_as(Doc_num,"c:\temp\test.bmp",1024,768,Colours)

Please note: The maximum width and height of the bitmap file to be exported must not exceed the maximum physical Windows screen size !