![](/profiles/wavemetrics/themes/wavemetrics/logo.png)
Print All Graphs
![](/sites/default/files/styles/thumbnail/public/default_images/Artboard%201_1.png?itok=jeHOCIXy)
![](/profiles/wavemetrics/themes/wavemetrics/images/icons/employee-icon.png)
hrodstein
Function PrintAllGraphs()
Variable index = 0
do
String graphName = WinName(index, 1)
if (strlen(graphName) == 0)
break
endif
// PrintGraphs can not be called directly from a user-defined function so we must use Execute.
// You may need to tweak the PrintGraphs command for your purposes.
String cmd
sprintf cmd, "PrintGraphs %s", graphName
Execute cmd
index += 1
while(1)
End
Variable index = 0
do
String graphName = WinName(index, 1)
if (strlen(graphName) == 0)
break
endif
// PrintGraphs can not be called directly from a user-defined function so we must use Execute.
// You may need to tweak the PrintGraphs command for your purposes.
String cmd
sprintf cmd, "PrintGraphs %s", graphName
Execute cmd
index += 1
while(1)
End
![](/sites/default/files/forum.png)
Forum
![](/sites/default/files/support.png)
Support
![](/sites/default/files/gallery.png)
Gallery
Igor Pro 9
Learn More
Igor XOP Toolkit
Learn More
Igor NIDAQ Tools MX
Learn More