Creates screenshot.
Unit
Syntax
ParametersARect [in] Screen area to take screenshot. Typically, this is a return value from the FindScreenshotRect function.
AFocusWnd [in, optional] A window which borders should be highlighted. It does not have to be a top level window. This is typically a child control (such as a button), which indicates focused control. Pass 0 to disable this feature.
ACursorPos [in] Absolute screen coordinates of mouse cursor. This is used to include image of mouse cursor in the screenshot.
ACursor [in] Mouse cursor image. This is used to include image of mouse cursor in the screenshot.
Return valueDescriptor of the created screenshot. This can be passed to the ScreenshotSave function. It must be released by a call to the ScreenshotFree function.
RemarksThis function initializes screenshot with the specified parameters.
The screenshot descriptor must be released by a call to the ScreenshotFree function.
See also
|