SmartCode ViewerX

ISmartCodeVNCViewer::JPEGCompressionLevel Property


Sets or retrieves custom compression level used during connection to VNC server.

Syntax

HRESULT ISmartCodeVNCViewer::get_JPEGCompressionLevel(long* pnLevel);
HRESULT ISmartCodeVNCViewer::put_JPEGCompressionLevel(long nLevel);

Parameters

pnLevel
Pointer to a variable of type long that receives JPEG compression level.
nLevel
long that specifies JPEG compression level used during connection to VNC server. The value must be in range from 0 to 9.

Return Value

Returns S_OK if successful, or an error value otherwise.