UtilImageTakeScreenshotFromScreen Method

Takes a screenshot of the specified screen.

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Image TakeScreenshotFromScreen(
	Screen scr,
	bool includeMouse,
	PixelFormat pixelFormat = PixelFormat.Format32bppArgb
)

Parameters

scr  Screen
The Screen to capture.
includeMouse  Boolean
If set to , the mouse is drawn in the resulting image.
pixelFormat  PixelFormat  (Optional)
The image pixel format.

Return Value

Image
The resulting image.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also