hwIJPGExportOptions SetQuality
Sets the quality used when exporting JPG files.
Syntax
hwIJPGExportOptions_handle SetQuality quality
Application
HyperWorks 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
hwi GetSessionHandle mySessionName
mySessionName GetJPGExportOptionsHandle myJpgOptions
myJpgOptions SetQuality 90
Errors
- 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.