getJPEGQuality()

Description

Returns the quality of JPEG files or JPEG-encoded PDF files.

Syntax

ImageViewerObject.io.getJPEGQuality();

Return value

<short>

Remarks

The default value of JPEGQuality is 80.

The valid range is 0-100. The higher the JPEGQuality property, the better the quality and the bigger the size of the file.

When an error occurs, check getErrorCode() or getErrorString() for error information.

Example

var imageviewer = DCSObject.getImageViewer("ImageViewerContainer");  // Get a specified image viewer
imageviewer.io.getJPEGQuality();

See also

.io.setJPEGQuality()
.io.httpUpload()
.io.httpUploadAsync()