#### 9.2.10 Snapshot

• Snapshot( <export>, <screen or printer (0 or 1)>, <"name"> [, show(0/1)] ).
• Description: take a snapshot of the graphic area on the screen, the first argument sets the <export> type, one among the following: eps, epsc, pdf , pdfc or bmp. The second argument sets the image resolution: $0$ for the screen (96 dpi) and $1$ for the printer (300 dpi), that argument is ignored if the chosen export is bmp.The third argument is a string containing the <"name"> of the image with one of the extensions (mandatory): png ou jpg, and with the path. It will be by default the TeXgraph temporary directory. The fourth argument is optional and indicates if the snapshot has to be displayed on screen or not (1 by default). This macro calls the external program : convert.
• Exemple(s): in the command line: Snapshot( epsc, 0, "../capture1.png")
• This macro is associated with a button in the toolbar: Standard.