PrintGraphics

Prints the contents of the first graphical window of the document.

Syntax

PrintGraphics(doc)

Parameters

Parameter

Type

Description

doc

documentReference

Reference to the document

Return

None.

Examples

Python

import nex
doc = nex.GetActiveDocument()
nex.ApplyTemplate(doc, "Autocorrelograms")
nex.PrintGraphics(doc)

NexScript

doc = GetActiveDocument()
ApplyTemplate(doc, "Autocorrelograms")
PrintGraphics(doc)