Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | viewer | |
Tool | viewercanvasprintmanager |
filename | name of file to write | ||
Allowed: | string or unset | ||
Default: | unset | ||
media | paper type | ||
Allowed: | 'A4' 'LETTER' | ||
Default: | 'A4' | ||
landscape | print in landscape mode? | ||
Allowed: | boolean | ||
Default: | F | ||
dpi | resolution of output in dots per inch | ||
Allowed: | integer | ||
Default: | 100 | ||
zoom | scaling of output | ||
Allowed: | float in (0,1] | ||
Default: | 1.0 | ||
eps | generate encapsulated PostScript output | ||
Allowed: | boolean | ||
Default: | F |
This function writes a PostScript version of the current view on display in the Viewerdisplaypanel tool for which this tool provides canvas print management facilities. The PostScript output will have the same aspect ratio as that of the Viewerdisplaypanel tool displayed on screen (provided the screen pixel aspect ratio is close to 1.0), but may differ slightly in color use and resampling resolution for raster images. If the filename argument is left unset, then a sensible filename is generated by the Viewer tool. The dpi argument allows the caller to specify the resolution of the output.