Leadtools.ScreenCapture Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CaptureWindowUnderCursor Method
See Also 
Leadtools.ScreenCapture Namespace > ScreenCaptureEngine Class : CaptureWindowUnderCursor Method



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.
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.
Captures an image of the window under the cursor.

Syntax

Visual Basic (Declaration) 
Public Function CaptureWindowUnderCursor( _
   ByVal captureInformation As ScreenCaptureInformation _
) As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As ScreenCaptureEngine
Dim captureInformation As ScreenCaptureInformation
Dim value As RasterImage
 
value = instance.CaptureWindowUnderCursor(captureInformation)
C# 
public RasterImage CaptureWindowUnderCursor( 
   ScreenCaptureInformation captureInformation
)
C++/CLI 
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 RasterImage that represents the captured image.

Example

For an example, refer to ScreenCaptureEngine.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also