SmartCode ViewerX

ISmartCodeVNCViewer::CustomCompressionLevel Property


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

Syntax

HRESULT ISmartCodeVNCViewer::get_CustomCompressionLevel(long* pnLevel);
HRESULT ISmartCodeVNCViewer::put_CustomCompressionLevel(long nLevel);

Parameters

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

Return Value

Returns S_OK if successful, or an error value otherwise.