SmartCode ViewerX

ISmartCodeVNCViewer3::ColorDepth Property


Sets or gets the color depth of the screen image.

Syntax

HRESULT ISmartCodeVNCViewer3::get_ColorDepth(ColorDepth* pnColorDepth);
HRESULT ISmartCodeVNCViewer3::put_ColorDepth(ColorDepth nColorDepth);

Parameters

pnColorDepth
Pointer to a variable of type ColorDepth that receives a color depth of the screen image.
nColorDepth
ColorDepth that specifies a color depth that should be used to draw the screen image.

Return Value

Returns S_OK if successful, or an error value otherwise.