LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
CaptureMouseCursor Method
See Also 
Leadtools.ScreenCapture Namespace > ScreenCaptureEngine Class : CaptureMouseCursor Method



fillColor
Color used to fill the transparent area of the captured image.
captureInformation
A Leadtools.ScreenCapture.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.
fillColor
Color used to fill the transparent area of the captured image.
captureInformation
A Leadtools.ScreenCapture.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 mouse cursor.

Syntax

Visual Basic (Declaration) 
Public Function CaptureMouseCursor( _
   ByVal fillColor As Color, _
   ByVal captureInformation As ScreenCaptureInformation _
) As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As ScreenCaptureEngine
Dim fillColor As Color
Dim captureInformation As ScreenCaptureInformation
Dim value As RasterImage
 
value = instance.CaptureMouseCursor(fillColor, captureInformation)
C# 
public RasterImage CaptureMouseCursor( 
   Color fillColor,
   ScreenCaptureInformation captureInformation
)
C++/CLI 
public:
RasterImage^ CaptureMouseCursor( 
   Color fillColor,
   ScreenCaptureInformation^ captureInformation
) 

Parameters

fillColor
Color used to fill the transparent area of the captured image.
captureInformation
A Leadtools.ScreenCapture.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.

Example

For an example, refer to ScreenCaptureEngine.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also