LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly)
LEAD Technologies, Inc

CaptureWindowUnderCursor Method






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 window under the cursor.
Syntax
public RasterImage CaptureWindowUnderCursor( 
   ScreenCaptureInformation captureInformation
)
'Declaration
 
Public Function CaptureWindowUnderCursor( _
   ByVal captureInformation As ScreenCaptureInformation _
) As RasterImage
'Usage
 
Dim instance As ScreenCaptureEngine
Dim captureInformation As ScreenCaptureInformation
Dim value As RasterImage
 
value = instance.CaptureWindowUnderCursor(captureInformation)
public RasterImage CaptureWindowUnderCursor( 
   ScreenCaptureInformation captureInformation
)
 function Leadtools.ScreenCapture.ScreenCaptureEngine.CaptureWindowUnderCursor( 
   captureInformation 
)
public:
RasterImage^ CaptureWindowUnderCursor( 
   ScreenCaptureInformation^ captureInformation
) 

Parameters

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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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
CaptureSelectedObject Method
CaptureArea Method
CaptureMouseCursor Method
CaptureFromExe Method
ShowCaptureFromExeDialog Method
GetResourcesCount Method
IsCaptureActive Property
StopCapture Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.