up Inquisit Language Reference

heightpx property

The display height of the item in pixels.

Member of

<button> <caption> <checkboxes> <clock> <display> <dropdown> <image> <instruct> <listbox> <openended> <picture> <radiobuttons> <shape> <slider> <slidertrial> <text> <textbox> <video>

Remarks

Use the heightpct attribute to get the width as a percentage of the canvas width.

Examples

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

<text sometext>
/ items= ("height = <% text.foo.heightpx %>")
</text>

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

<page somepage>
height = <% defaults.heightpx %>
</page>

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