←Select platform

CaptureMenuUnderCursor Method

Summary

Captures an image of the menu under the cursor.

Syntax

C#
VB
C++
public RasterImage CaptureMenuUnderCursor( 
   ScreenCaptureInformation captureInformation 
) 
  
Public Function CaptureMenuUnderCursor( _ 
   ByVal captureInformation As Leadtools.Screencapture.ScreenCaptureInformation _ 
) As Leadtools.RasterImage 

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

If there was no menu under the cursor, no capture will occur. The hot key needs to be pressed to complete the capture.

Example

For an example, refer to ScreenCaptureEngine.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ScreenCapture Assembly