- captureAreaOptions
- A Leadtools.ScreenCapture.ScreenCaptureAreaOptions structure that contains information about the type of area to be captured.
- 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.
Visual Basic (Declaration) | |
---|---|
Public Function CaptureArea( _ ByVal captureAreaOptions As ScreenCaptureAreaOptions, _ ByVal captureInformation As ScreenCaptureInformation _ ) As RasterImage |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ScreenCaptureEngine Dim captureAreaOptions As ScreenCaptureAreaOptions Dim captureInformation As ScreenCaptureInformation Dim value As RasterImage value = instance.CaptureArea(captureAreaOptions, captureInformation) |
C# | |
---|---|
public RasterImage CaptureArea( ScreenCaptureAreaOptions captureAreaOptions, ScreenCaptureInformation captureInformation ) |
C++/CLI | |
---|---|
public: RasterImage^ CaptureArea( ScreenCaptureAreaOptions captureAreaOptions, ScreenCaptureInformation^ captureInformation ) |
Parameters
- captureAreaOptions
- A Leadtools.ScreenCapture.ScreenCaptureAreaOptions structure that contains information about the type of area to be captured.
- 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.For an example, refer to ScreenCaptureEngine.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
ScreenCaptureEngine ClassScreenCaptureEngine Members
Implementing Screen Capture
Startup Method
Shutdown Method
CaptureWindow Method
CaptureActiveWindow Method
CaptureActiveClient Method
CaptureWallpaper Method
CaptureFullScreen Method
CaptureMenuUnderCursor Method
CaptureWindowUnderCursor Method
CaptureSelectedObject Method
CaptureMouseCursor Method
CaptureFromExe Method
ShowCaptureFromExeDialog Method
GetResourcesCount Method
IsCaptureActive Property
StopCapture Method