image: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=")
m (Text replacement - " <dl class="command_description"> <dt><dt>" to " <dl class="command_description"> <dt><dt>")
Line 27: Line 27:


<dl class="command_description">
<dl class="command_description">
<dt><dt>
<dt><dt>
<dd class="notedate">Posted on March 21, 2009</dd>
<dd class="notedate">Posted on March 21, 2009</dd>

Revision as of 16:48, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
StringsGUI ControlStructured Text

Syntax

Syntax:
Syntax needed
Parameters:
filename: String
Return Value:
Return value needed

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

Additional Information

See also:
setAttributesparseTexttextcomposeTextlineBreak

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on March 21, 2009
Spooner
Although there is a dedicated image command, parseText gives more options: _imageText = parseText "<img size='5' color='#ff0000' image='fish.paa'/>"