CatchmentSIM

Image Handling

Hide Navigation Pane

Image Handling

Previous topic Next topic No directory for this topic No expanding text in this topic  

Image Handling

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

 

ExportBackgroundPicture ( File Path (.bmp) )

 

The ExportBackgroundPicture procedure writes a Windows bitmap image (.bmp) to a file as designated by File Path.  To ensure the image is opened properly with other applications, the user should ensure that the File Path variable has the extension '.bmp'.

 

The image exported is the current view in the CatchmentSIM project.  That is, if the current view is zoomed in to small area then this image will be exported.  In this manner any image generated during operation of CatchmentSIM can be exported to an image file.  The coordinates for the exported image are stored in the %BackgroundPicture.MaxEasting, %BackgroundPicture.MaxNorthing, %BackgroundPicture.MinEasting and %BackgroundPicture.MinNorthing project variables.

 

EXAMPLE

 

YesNoBox(&B_Image,"Would you like to export a background graphic","Background Image")
 
IF(&B_Image|=|True|
 SaveDialogBox(&BMPFile,"Windows Bitmap (*.bmp)",".bmp","")
 ExportBackgroundPicture(&BMPFile)
)

 

 

Comments (...)