ScreenDepth()

Syntax

Result = ScreenDepth()
Description
Returns the current screen depth, previously opened with OpenScreen() or OpenWindowedScreen().

Parameters

None.

Return value

The current screen depth, or zero if no screen is opened. Depth is a value between 8 and 32.

See Also

OpenScreen(), OpenWindowedScreen(), ScreenWidth(), ScreenHeight()

Supported OS

All

<- OpenWindowedScreen() - Screen Index - ScreenHeight() ->