Savegraphics function – Multichannel Systems NeuroExplorer User Manual

Page 215

Advertising
background image

5.5.6.10. SaveGraphics Function

SaveGraphics Function


Saves the graphics of rthe first graphics window of the document to a WMF or PNG file.

Syntax


SaveGraphics(doc, filePath, asPng)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document.

filePath

string

Graphics file path

asPng

double

If this parameter value is zero, graphics is saved in
Windows Metafile format. Otherwise, the graphics is
saved in PNG format.

Returns


None

Comments


None

Usage

NexScript

doc = GetActiveDocument()

SaveGraphics(doc, "C:\Results\NexGraphics.wmf", 0)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 213

Advertising