OOF2: The Manual

Name

OOF.Graphics_n.File.Save_Image — Save the contents of the graphics window as a pdf file.

Synopsis

OOF.Graphics_n.File.Save_Image(filename,overwrite)

Details

  • Parent Menu: OOF.Graphics_n.File
  • Callback: function GhostGfxWindow.saveImage in module ooflib.common.IO.ghostgfxwindow
  • Parameters:

    filename
    Name for the image file. Type: A character string.
    overwrite
    Overwrite an existing file? Type: Boolean, 0 (false) or 1 (true).

Description

Save the contents of the Graphics window in a PDF file. The format is PDF-1.4. Everything in the window is saved, not just what's visible in the scrolling region.[15]

[Note] Note

This Save command is not the same as the Save/Image command in the OOF.File menu. This command only writes PDF files, and includes everything that's being displayed. OOF.File.Save.Image saves only a single Image object, but can save it in many different formats.



[15] This will be fixed in a later version.