up Inquisit Language Reference

colorDepth property

The depth of color supported by the current display mode.

Member of

<display>

Syntax

display.name.colorDepth

Read Only

Type

integer

Remarks

This reports the number of bits of color in the current display mode.

Examples

The following displays the value of colorDepth in a text stimulus:

<text myText>
/ items= ("colorDepth = <% display.colorDepth %>")
</text>

The following displays the value of colorDepth in an instruction page:

<page myPage>
ColorDepth = <% display.colorDepth %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.