PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Copies the image of a WINDEV window into an Image variable or into an Image control.
Versions 23 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
New in version 23
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Example
// Copies the image of current window into an image variable
MyImage is Image = dCopyWindowImage("")
Syntax
<Result> = dCopyWindowImage(<Window> [, <Shadow Management>])
<Result>: Image or Binary Buffer variable
  • Name of Image variable that will contain the screen shot.
  • Binary buffer corresponding to the image. This buffer can be directly assigned to an Image control.
<Window>: Character string (with or without quotes)
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
Versions 23 and later
Mode for managing the shadow in window border (especially in Windows 10):
dWithShadow
(Default value)
The window shadow is kept when copying the window.
dNoShadowThe window shadow is not kept when copying the window.
New in version 23
Mode for managing the shadow in window border (especially in Windows 10):
dWithShadow
(Default value)
The window shadow is kept when copying the window.
dNoShadowThe window shadow is not kept when copying the window.
Mode for managing the shadow in window border (especially in Windows 10):
dWithShadow
(Default value)
The window shadow is kept when copying the window.
dNoShadowThe window shadow is not kept when copying the window.
Remarks
  • The window to copy must be displayed on the screen.
  • If the window is clipped, the entire area corresponding to the window is copied: therefore, the elements that appear in background of the clipped window are also copied.
Components
WINDEVReports and Queries wd230pnt.dll
Android wd230android.jar
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment