SmartCode ViewerX

ISmartCodeVNCViewer::RestrictPixel Property


Deprected: Use the ColorDepth property instead!

Sets or retrieves the value indicating whether "restrict pixel", in other words 8-bit color mode is enabled.

Syntax

HRESULT ISmartCodeVNCViewer::get_RestrictPixel(VARIANT_BOOL* pbRestrict);
HRESULT ISmartCodeVNCViewer::put_RestrictPixel(VARIANT_BOOL bRestrict);

Parameters

pbRestrict
Pointer to a variable of type VARIANT_BOOL that receives 8-bit color mode status.
bRestrict
VARIANT_BOOL that enables or disables 8-bit color mode.

Return Value

Returns S_OK if successful, or an error value otherwise.