poIPost CaptureImage

Renders the current HyperView window to an off-screen image file.

Syntax

poIPost_handle CaptureImage filename format quality

Application

HyperView Tcl Modify

Description

This command renders the current HyperView window to an off-screen image file.

Inputs

filename
The name of the file.
format
JPEG (default) or PNG.
quality
The image quality (1-4, with 1 as the default).

Errors

Returns 0 if successful, otherwise an error code.