SmartCode ViewerX

ISmartCodeVNCViewer::JPEGCompression Property


Sets or retrieves the value indicating whether JPEG compression is enabled.

Syntax

HRESULT ISmartCodeVNCViewer::get_JPEGCompression(VARIANT_BOOL* pbAllow);
HRESULT ISmartCodeVNCViewer::put_JPEGCompression(VARIANT_BOOL bAllow);

Parameters

pbAllow
Pointer to a variable of type VARIANT_BOOL that receives JPEG compression status.
bAllow
VARIANT_BOOL that enables or disables JPEG compression encoding.

Return Value

Returns S_OK if successful, or an error value otherwise.