up Inquisit Language Reference

widthPx property

The display width 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.widthPx

Read/Write

Type

extent

Remarks

Use the widthPx attribute to get the width in pixels.

Examples

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

<text myText>
/ items= ("width = <% text.foo.widthPx %>")
</text>

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

<page myPage>
Width = <% defaults.widthPx %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.