LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly)

CaptureArea Method

Show in webframe





A ScreenCaptureAreaOptions structure that contains information about the type of area to be captured.
A ScreenCaptureInformation class object to be filled with information regarding the source for the captured image. Pass NULL if you are not interested in extra information about the capture.
Captures an image of the area selected by the user.
Syntax
'Declaration
 
Public Function CaptureArea( _
   ByVal captureAreaOptions As ScreenCaptureAreaOptions, _
   ByVal captureInformation As ScreenCaptureInformation _
) As RasterImage
'Usage
 
Dim instance As ScreenCaptureEngine
Dim captureAreaOptions As ScreenCaptureAreaOptions
Dim captureInformation As ScreenCaptureInformation
Dim value As RasterImage
 
value = instance.CaptureArea(captureAreaOptions, captureInformation)

            

            

Parameters

captureAreaOptions
A ScreenCaptureAreaOptions structure that contains information about the type of area to be captured.
captureInformation
A ScreenCaptureInformation class object to be filled with information regarding the source for the captured image. Pass NULL if you are not interested in extra information about the capture.

Return Value

A Leadtools.RasterImage that represents the captured image.
Remarks
The hot key needs to be pressed to complete the capture.
Example
For an example, refer to ScreenCaptureEngine.
Requirements

Target Platforms

See Also

Reference

ScreenCaptureEngine Class
ScreenCaptureEngine Members
Implementing Screen Capture
Startup Method
Shutdown Method
CaptureWindow Method
CaptureActiveWindow Method
CaptureActiveClient Method
CaptureWallpaper Method
CaptureFullScreen Method
CaptureMenuUnderCursor Method
CaptureWindowUnderCursor Method
CaptureSelectedObject Method
CaptureMouseCursor Method
CaptureFromExe Method
ShowCaptureFromExeDialog Method
GetResourcesCount Method
IsCaptureActive Property
StopCapture Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.