|
ScreenAreaCapture(Rectangle, ImageFormat) Method
|
Performs a screen capture the given Rectangle and ImageFormat.
Namespace: GSF.Windows.FormsAssembly: GSF.Windows (in GSF.Windows.dll) Version: 2.4.230-beta
Syntaxpublic static Bitmap Capture(
Rectangle captureArea,
ImageFormat imageFormat
)
Public Shared Function Capture (
captureArea As Rectangle,
imageFormat As ImageFormat
) As Bitmap
public:
static Bitmap^ Capture(
Rectangle captureArea,
ImageFormat^ imageFormat
)
static member Capture :
captureArea : Rectangle *
imageFormat : ImageFormat -> Bitmap
GSF.Windows.Forms.ScreenArea.Capture = function(captureArea, imageFormat);
View SourceParameters
- captureArea Rectangle
- Screen area Rectangle to capture.
- imageFormat ImageFormat
- Desired ImageFormat for captured Bitmap.
Return Value
BitmapCaptured screen image for given area.
See Also