image
Jump to navigation
Jump to search
Description
- Description:
- Creates a structured text containing the given image. Use setAttributes to set additional attributes on the image.
- Groups:
- StringsGUI ControlStructured Text
Syntax
- Syntax:
- image filename
- Parameters:
- filename: String
- Return Value:
- Structured Text
Examples
- Example 1:
- 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:
- setAttributes parseText text composeText lineBreak
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Strings
- Command Group: GUI Control
- Command Group: Structured Text