|
|
|
|
dCopyScreenImage (Function) In french: dCopieImageEcran Copies the content of the screen to a variable of type Image or to an Image control.
// Copies the screen into an Image variable MyImage is Image MyImage = dCopyScreenImage() // Assignment in an Image control IMG_Image = MyImage
Syntax
<Result> = dCopyScreenImage([<X> [, <Y> [, <Width> [, <Height>]]]])
<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.
<X>: Optional integer X-coordinate (in pixels) of the upper-left corner of the area to be copied (0 by default, i.e., upper-left corner of screen 1). <Y>: Optional integer Y-coordinate (in pixels) of the upper-left corner of the area to be copied (0 by default, i.e., upper-left corner of screen 1). <Width>: Optional integer Width (in pixels) of the area to be copied (width of the screen by default). <Height>: Optional integer Height (in pixels) of the area to be copied (height of the screen by default). Remarks Caution: If the "Allow window screenshot" option is not enabled for a WINDEV window ("Details" tab in the description window), the image of the window will be blacked out. This option can be modified in the code using the ScreenshotAllowed property. Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|