SmartCode ViewerX

ISmartCodeVNCViewer::CopyRect Property


Sets or retrieves the value indicating whether CopyRect encoding is enabled.

Syntax

HRESULT ISmartCodeVNCViewer::get_CopyRect(VARIANT_BOOL* pbAllow);
HRESULT ISmartCodeVNCViewer::put_CopyRect(VARIANT_BOOL bAllow);

Parameters

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

Return Value

Returns S_OK if successful, or an error value otherwise.