up Inquisit Language Reference

canvassize attribute

The canvassize attribute defines the maximum width and height of the bounding rectangle within which visual stimuli are positioned on the screen.

Member of



/ canvassize = (width variable, height variable)


width variable The width of the rectangle in pixels (default), percent, or points.
height variable The height of the rectangle in pixels (default), percent, or points.


The canvassize attribute can be used in combination with the canvasaspectratio and canvasposition attributes to define a rectangle on the screen relative to which all visual stimuli and sized and positioned. These attributes that the relative size and position of stimuli on the screen remains the same across monitors of different shapes and sizes..


The following ensures that visual stimuli are presented in a rectangle that has the same proportions as an 8.5 x 11 inch sheet of paper and with margins around the screen no smaller than 20%.

/ canvassize=(80%, 80%)
/ canvasaspectratio=(8.5, 11)

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