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
Creates the image of the specified window in a BMP file.
Caution: The image of the window corresponds to the window as it is displayed in the window editor. To create an image of the window at run time, use dCopyBlt and dSaveImageBMP.Caution: The image of the window corresponds to the window as it is displayed in the window editor. To create an image of the window at run time, use dCopyWindowImage and the Image type.
Example
// Create the images of the "C:\Project\EditCustomer.WDW" window
// in the "C:\Images\EdittCustomer" file
Res = WindowBitmap("C:\Project\EditCustomer.WDW", "C:\Images\EditCustomer")
Syntax
<Result> = WindowBitmap(<Window Name> , <File Name>)
<Result>: Integer
Number of created images. For the specified window, WindowBitmap creates as many images (BMP files) as the number of planes found in the window. If the window includes tabs, a single image is created.
<Window Name>: Character string (with or without quotes)
Name and full path of the window to use. This window can be closed.
<File Name>: Character string (with quotes)
Name and full (or relative) path of the resulting file (without specifying the extension). A UNC path can be used.
If a single image file is created, its extension will be ".BMP".
If several image files are created, they will have for extension ".B01", ".B02", ...
Remarks
The image is created with the current system information: colors, fonts, ...
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment