RemoveImage

Summary

This function allows you to remove and image from the user interface using the name specified by a parameter from the AddImage function.

Parameters

Name

Type: Text Default: None

The name of the image you wish to remove. This should be the same name that was specified by the AddImage function.

See Also

Examples

<addimage Image="House.png" Name="House" />
<addimage Image="Sunset.png" Name="Sunset" CanBeMoved="False" CanBeClosed="False" />
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.
<removeimage Name="Sunset" />
This code will search for the image named Sunset as defined by the Name parameter. It will then remove it from the user interface.