Captures an image of the entire desktop.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static Bitmap Screenshot( CaptureParameters parameters ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Screenshot ( _ parameters As CaptureParameters _ ) As Bitmap |
Parameters
- parameters
- Type: Gallio.Common.Media..::.CaptureParameters
The capture parameters.
Return Value
The screenshot.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if parameters is null. |
| Gallio.Common.Media..::.ScreenshotNotAvailableException | Thrown if a screenshot cannot be captured at this time. |
