Developer Documentation Library > 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
AltText
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.
Valid values: Sets the alternative text for the image.
Data type: String
Name
The name of the image to use for the element. (Default Property).
Valid values: Name and relative location of the image file.
Data type: String
Height
Sets the height of the image.
Valid values: Can be set as a value or a percentage.
Data type: String
Position
The position of the image relative to the text.
Valid values: Bottom, ImageOnly, Left, None, Right, or Top.
Data type: Enumeration
Width
Sets the width of the image.
Valid values: Can be set as a value or a percentage.
Data type: String
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