up Inquisit Language Reference

canvasHeight property

The height of the display canvas in pixels.

Member of

<display>

Syntax

display.name.canvasHeight

Read Only

Type

extent

Remarks

The canvasHeight property returns the height of canvas as determined by the constraints specified in the canvasSize, canvasPosition, and canvasAspectRatio attributes.

Examples

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

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

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

<page myPage>
canvasHeight = <% display.canvasHeight %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.