LEADTOOLS supports a number of functions for capturing images from the screen. You can capture the entire screen , or you can elect to capture some small part of the screen. LScreenCapture::CaptureFullScreen lets you capture the entire screen, while LScreenCapture::CaptureActiveWindow lets you capture all of the active window. To capture just the client portion of the active window, use LScreenCapture::CaptureActiveClient. LScreenCapture::CaptureWindowUnderCursor captures the window immediately under the cursor, and LScreenCapture::CaptureSelectedObject captures an image of the selected window's object. . To capture an image of a window handle, use LScreenCapture::CaptureWallpaper.
In addition, you can capture wallpaper, menus and the mouse cursor, using LScreenCapture::CaptureWallPaper, LScreenCapture::CaptureMenuUnderCursor and LScreenCapture::CaptureMouseCursor. To capture an area, use LScreenCapture::CaptureArea. LEADTOOLS provides two functions for capturing bitmaps, cursors and icons from EXEs or DLLs, LScreenCapture::CaptureFromEXE and LScreenCapture::CaptureFromEXEDlg. Finally, to stop a capture operation, use LScreenCapture::StopCapture.
The hot key needs to be pressed to complete the capture. The default hot key is F11. To change the hot key you need to call LScreenCapture::SetCaptureOptions function. The user can immediately capture by setting the hot key to zero (0).
In addition to the capture functions given above, there are a number of functions for getting and setting capture information, and two overridables. These are as follows:
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document