LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LScreenCapture > LScreenCapture Member Functions > LScreenCapture::SetCaptureOption |
#include "ltwrappr.h"
static L_INT LScreenCapture::SetCaptureOption(pOptions)
pLEADCAPTUREOPTION pOptions; |
/* address of structure with options */ |
Sets options for image capture, such as HotKey, Delay, and Count.
Parameter |
Description |
pOptions |
Address of the structure where you have set the option values. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Use this function to change the current image capture options. For information on the default option settings, refer to LEADCAPTUREOPTION.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Functions: |
Class Members, LScreenCapture::SetCaptureOptionDlg, LScreenCapture::GetCaptureOption |
Example
For an example, refer to LScreenCapture::GetCaptureOption.