ClosePicture Subroutine

Closes the specified Picture. If there are multiple instances of a picture open, all instances of that picture are closed. If a different alias is assigned to each instance, you can close one instance using an alias.

Syntax

ClosePicture[Picture], [intErrorMode]

Properties

The ClosePicture subroutine syntax has these parts:

Part

Description

Picture

String. (Optional). The file name or alias of the picture you want to close. If no file name is specified, the currently active picture is closed.

intErrorMode

Integer. (Optional). The error mode.
0 (default) – Allows the subroutines to provide the error messages. Errors are displayed in the form of a message box. If no entry is made for the intErrorMode parameter, the default is used.

 

Example