Graphics > Graphics Methods > Close Method

# Close Method

The Close method destroys the graphic window and all of the contained graphics and annotations.

Note: After this method is called, all references to the window object and the contained graphics objects will be invalid, and should not be used.

## Example

plot = PLOT(/TEST)

plot.Close

## Syntax

graphic.Close

## Arguments

None

## Keywords

None

## Version History

8.0 | Introduced

## See Also

Erase Method, GETWINDOWS, WINDOW