up Inquisit Language Reference

heightPct property

The display height of the item as a percentage of the canvas height.

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.heightPct

Read/Write

Type

extent

Remarks

Use the heightPct attribute to get the height as a percentage of the canvas.

Examples

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

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

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

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

Copyright Millisecond Software, LLC. All rights reserved.