Captures an image of the area selected by the user.
public RasterImage CaptureArea(
Public Function CaptureArea( _
ByVal captureAreaOptions As Leadtools.Screencapture.ScreenCaptureAreaOptions, _
ByVal captureInformation As Leadtools.Screencapture.ScreenCaptureInformation _
) As Leadtools.RasterImage
A ScreenCaptureAreaOptions structure that contains information about the type of area to be captured.
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.
The hot key needs to be pressed to complete the capture.
For an example, refer to ScreenCaptureEngine.