Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ardiscript:removeimage [2018/04/27 04:15]
optrix [Summary]
ardiscript:removeimage [2019/02/20 01:11] (current)
optrix [See Also]
Line 15: Line 15:
  
 ====See Also==== ====See Also====
-[[addimage]]+[[addimage]] [[viewmedia]]
  
 ====Examples==== ====Examples====
  
 +<​code>​
 +<​addimage Image="​House.png"​ Name="​House"​ />
 +<​addimage Image="​Sunset.png"​ Name="​Sunset"​ CanBeMoved="​False"​ CanBeClosed="​False"​ />
 +</​code>​
 +
 +> This code adds 2 images to the screen, **House.png** named **House** and **Sunset.png** named **Sunset**. ​
 +> The user will be able to click and drag the **House** image to move it around the screen and position as they see fit. They can also click on the cross icon at the top right of it to remove it. The **Sunset** image however will be unable to be moved or removed.
 +
 +<​code>​
 +<​removeimage Name="​Sunset"​ />
 +</​code>​
 +
 +> This code will search for the image named **Sunset** as defined by the //Name// parameter. It will then remove it from the user interface.