up Inquisit Language Reference

canvasheight property

The height of the display canvas in pixels.

Member of

<display>

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 sometext>
/ items= ("canvasheight = <% display.canvasheight %>")
</text>

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

<page somepage>
canvasheight = <% display.canvasheight %>
</page>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.