UtilImageTakeScreenshotFromForm Method

Takes a screenshot of a Form.

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 TakeScreenshotFromForm(
	Form f,
	bool includeMouse,
	PixelFormat pixelFormat = PixelFormat.Format32bppArgb
)

Parameters

f  Form
The Form 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