The width of the display canvas in pixels.
<display>
The canvaswidth property returns the width of canvas as determined by the constraints specified in the canvassize, canvasposition, and canvasaspectratio attributes.
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>