captureScreen() - obsolete
Returns an IDispatch (IPicture) image of the screen. (obsolete from version 3.5).
Synopsis
idispatchcaptureScreen(string moduleName);
Parameters
Parameter | Meaning |
---|---|
moduleName | The name of the module. |
Return Value
Returns an IDispatch (IPicture) image of the screen.
Errors
Missing or wrong parameters.
Description
The function returns an IDispatch (IPicture) of the screen.
Example
Add the following code to a panel (for example, for the event "Clicked"). The function returns an idispatch (IPicture) image of the screen (panel). The image is printed using the function OLEPicturePrint.
The whole panel has to be visible!
main()
{
idispatch picture = captureScreen(myModuleName());
// print the picture
OLEPicturePrint(picture, true);
}
Assignment
Availability
UI