Viewport.Clear (method)

Syntax

Viewport.Clear

Description

Clears the open viewport window.

Comments

The method has no effect if no viewport is open.

Example

Sub Main()

  Viewport.Open

  Print "This will be displayed in the viewport window."

  Sleep 2000

  Viewport.Clear

  Print "This will replace the previous text."

  Sleep 2000

  Viewport.Close

End Sub

See Also

Viewport.Close (method), Viewport.Open (method)

More information

V