up Inquisit Language Reference

heightPx property

The display height of the item in pixels.

Member of

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

Syntax

object.name.heightPx

Read/Write

Type

extent

Remarks

Use the heightPx attribute to get the height in pixels.

Examples

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

<text myText>
/ items= ("height = <% text.foo.heightPx %>")
</text>

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

<page myPage>
height = <% defaults.heightPx %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.