up Inquisit Language Reference

canvaswidth property

The width of the display canvas in pixels.

Member of

<display>

Remarks

The canvaswidth property returns the width of canvas as determined by the constraints specified in the canvassize, canvasposition, and canvasaspectratio attributes.

Examples

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

<text sometext>
/ items= ("canvaswidth = <% display.canvaswidth %>")
</text>

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

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

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