SmartCode ViewerX

ISmartCodeVNCViewer::ViewOnly Property


Sets or retrieves the value indicating whether "view mode" mode is enabled.

Syntax

HRESULT ISmartCodeVNCViewer::get_ViewOnly(VARIANT_BOOL* pbViewOnly);
HRESULT ISmartCodeVNCViewer::put_ViewOnly(VARIANT_BOOL bViewOnly);

Parameters

pbViewOnly
Pointer to a variable of type VARIANT_BOOL that receives "view mode" mode status.
bViewOnly
VARIANT_BOOL that enables or disables "view mode" mode.

Return Value

Returns S_OK if successful, or an error value otherwise.