Scripting > mrScriptMetadata User's Guide > mrScriptMetadata reference > Styles and templates > Font style properties
 
Font style properties
These properties are children of the Font property.
Properties
Family
Data type: String
Valid values: A font name or a list of font names separated by commas. Font names that contain spaces must be enclosed in single quotes. For example, “Arial, 'Arial Black'”.
The font to use, assuming that it is available on the target HTML player. If a list of font names is specified, the first font in the list that is available will be used. This is the default property for the Font object.
IsBlink
Data type: Boolean
Valid values: True or False.
Whether the text is blinking. The default value is false.
IsBold
Data type: Boolean
Valid values: True or False.
Whether the text is bold. The default value is false.
IsItalic
Data type: Boolean
Valid values: True or False.
Whether the text is italic. The default value is false.
IsOverline
Data type: Boolean
Valid values: True or False.
Whether the text has overline formatting. The default value is false.
IsStrikeThrough
Data type: Boolean
Valid values: True or False.
Whether the text has strikethrough formatting. The default value is false.
IsSubscript
Data type: Boolean
Valid values: True or False.
Whether the text has subscript formatting. The default value is false.
IsSuperscript
Data type: Boolean
Valid values: True or False.
Whether the text has superscript formatting. The default value is false.
IsUnderline
Data type: Boolean
Valid values: True or False.
Whether the text is underlined. The default value is false.
Size
Data type: Integer
Valid values: A positive integer.
The point size of the font.
Example
The following example shows how font style properties should be defined in mrScriptMetadata:
Q4 "Rating" LabelStyle ( Font ( Family = "Arial", IsBold = True, Size = 12 ) ) categorical [1] {High, Medium, Low};
Because Family is the default child property, it can also be defined using a shortened form as shown below. However, if you define Family in this way, you cannot define any other font style properties:
Q4 "Rating" LabelStyle ( Font = "Arial" ) categorical [1] {High, Medium, Low};
See
Styles and templates