image: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added to "See also" and ''fixed'' layout)
m (formatted notes)
Line 27: Line 27:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
--[[User:Spooner|Spooner]] 21 March 2009


Although there is a dedicated [[image]] command, [[parseText]] gives more options:
<dd class="notedate">Posted on March 21, 2009
<pre>_imageText = parseText "<img size='5' color='#ff0000' image='fish.paa'/>"</pre>
<dt class="note">[[User:Spooner|Spooner]]
<dd class="note">Although there is a dedicated [[image]] command, [[parseText]] gives more options:
<code>_imageText = [[parseText]] "<img size='5' color='#ff0000' image='fish.paa'/>"</code>
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 18:49, 26 March 2016

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Creates a structured text containing the given image.
Groups:
Uncategorised

Syntax

Syntax:
Structured Text = image filename
Parameters:
filename: String
Return Value:
Structured Text

Examples

Example 1:
_txt1 = image "data\isniper.paa";

Additional Information

See also:
parseTexttextcomposeText

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

Notes

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'/>"

Bottom Section