Captures an image of the entire desktop.

Namespace:  Gallio.Framework
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public static Bitmap Screenshot()
Visual Basic (Declaration)
Public Shared Function Screenshot As Bitmap

Return Value

The screenshot.

Exceptions

ExceptionCondition
Gallio.Common.Media..::.ScreenshotNotAvailableExceptionThrown if a screenshot cannot be captured at this time.

See Also