Click or drag to resize

ScreenAreaCapture(Rectangle, ImageFormat) Method

Performs a screen capture the given Rectangle and ImageFormat.

Namespace: GSF.Windows.Forms
Assembly: GSF.Windows (in GSF.Windows.dll) Version: 2.4.181-beta
Syntax
public static Bitmap Capture(
	Rectangle captureArea,
	ImageFormat imageFormat
)
View Source

Parameters

captureArea  Rectangle
Screen area Rectangle to capture.
imageFormat  ImageFormat
Desired ImageFormat for captured Bitmap.

Return Value

Bitmap
Captured screen image for given area.
See Also