Description
Creates a structured text containing the given image. Use setAttributes to set additional attributes on the image.
Syntax
image filename
Parameters:
filename: String
Returns: Structured Text
Examples
Example 1
hint composeText ["Image: ", image "\a3\Data_f\Flags\flag_Altis_co.paa"];
Example 2
hint str (composeText ["Image: ", image "\a3\Data_f\Flags\flag_Altis_co.paa"] == parseText "Image: <img image='\a3\Data_f\Flags\flag_Altis_co.paa'/>"); // true
See also
setAttributes · parseText · text · composeText · lineBreak