Public Function CaptureMenuUnderCursor( _
ByVal captureInformation As ScreenCaptureInformation _
) As RasterImage
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.
A Leadtools.RasterImage that represents the captured image.
If there was no menu under the cursor, no capture will occur. The hot key needs to be pressed to complete the capture.
For an example, refer to ScreenCaptureEngine.