Scripting > mrScriptMetadata User's Guide > mrScriptMetadata reference > Styles and templates > Image style properties
 
Image style properties
These properties are children of the Image property.
Properties
Name
Data type: String
Valid values: Name and relative location of the image file.
The name of the image to use for the element. (Default Property).
Width
Data type: String
Valid values: Can be set as a value or a percentage.
Sets the width of the image.
Height
Data type: String
Valid values: Can be set as a value or a percentage.
Sets the height of the image.
Position
Data type: Enumeration
Valid values: Bottom, ImageOnly, Left, None, Right, or Top.
The position of the image relative to the text.
AltText
Data type: String
Valid values: Sets the alternative text for the image.
If the alternative text is not set, and the ImageOnly image position is used, the page element's label will be set as the alternative text.
Example
The following example shows how Image style properties should be defined in mrScriptMetadata:
Q4 "Rating"
LabelStyle ( Image (Name = "Arial.jpg", Position = “Left”, Height = “100”, Height=”100”, AltText=”Can’t display” ) )
categorical [1] {High, Medium, Low};
See
Styles and templates