DOWNLOAD
To view this script, click the button below. Your browser should show you the script in your browser window. Copy and paste that script into ToolBook.

View Now
 


FILE FUNCTION: savePageAsGraphic()

Add-on OpenScript Function - should work in version 6 and higher of ToolBook

  Syntax

savePageAsGraphic(<objRef>,<fName>)

  Parameters <objRef>
A reference to a page or other ToolBook object.

<fName>
A file name with a fully qualified path, and extension of GIF, BMP or JPG.
    Returns Returns true in all cases.

    Sample get savePageAsGraphic(page "certificate","c:\foo.bmp")

    Notes This function saves a page, a background, a button, or any other single ToolBook object as an image file. It should be possible to specify a GIF, BMP or JPG as the image format.