|
|
|
|
|
dCopyWindowImage (Function) In french: dCopieImageFenêtre Copies the image from a WINDEV window to a variable of type Image or to an Image control.
MyImage is Image = dCopyWindowImage("")
Syntax
<Result> = dCopyWindowImage(<Window> [, <Shadow management>])
<Result>: Image or Binary Buffer variable - Name of the variable of type Image that will contain the screenshot.
- Binary buffer corresponding to the image. This buffer can be directly assigned to an Image control.
<Window>: Character string Name of WINDEV or WINDEV Mobile window whose image will be copied. If this parameter corresponds an empty string (""), the current window will be copied. <Shadow management>: Integer constant Shadow mode for window borders (Windows 10 mainly):
| | dWithShadow (Default value) | The shadow is kept when the window is copied. | dNoShadow | The shadow is not kept when the window is copied. |
Remarks - The window to copy must be displayed on the screen.
- If the window is cropped, the entire area corresponding to the window is copied: the elements appearing in the background of the cropped window are therefore also copied..
- Warning: If the "Allow window screenshot" option ("Detail" tab of the description window) is not checked, the window image will be entirely black.. You can change this option programmatically, using the ScreenshotAllowed property.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|