hwIJPGExportOptions SetQuality

Sets the quality used when exporting JPG files.

Syntax

hwIJPGExportOptions_handle SetQuality quality

Application

Tcl Modify

Description

This parameter is used when exporting JPG files from any client during HTML export.

Inputs

quality
The quality to be used when exporting JPG files. This must be between 0 and 100 (exclusive).

Example

To set the current quality used when exporting JPG files:
hwi GetSessionHandle mySessionName
mySessionName GetJPGExportOptionsHandle myJpgOptions
myJpgOptions SetQuality 90

Errors

Success (0) or an error code (see below).
3 = HW_InvalidHandle
The handle used to invoke the method is no longer valid.
4 = HW_InvalidArgs
The value of the argument quality is not in the range listed above.