ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Image functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Creates the image of the specified window in a BMP file.
Caution: The window image corresponds to the window as it appears in the window editor.. To create an image of the window at runtime, use dCopyWindowImage and the Image type.
Example
// Création des images de la fenêtre "FEN_SaisieClient"
// dans le fichier "C:\Images\SaisieClient"
Res = FEN_SaisieClient.ImageFenêtre("C:\Images\SaisieClient")
Syntax
<Result> = <Window>.WindowBitmap(<Image file>)
<Result>: Integer
Number of created images. For the specified window, <Window>.WindowBitmap creates as many images (BMP files) as the number of planes in the window. If the window includes tabs, a single image is created.
<Window>: Window name
Name of the window to be used.
<Image file>: Character string
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, etc.
Component: wd300obj.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/26/2024

Send a report | Local help