PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
MapGetImage (Function)
In french: CarteRécupèreImage
Retrieves the image of a map displayed in a Map control. The markers and the itineraries displayed on this map will also be found in the image.
Example
// Retrieve the image displayed in the Map control and assign it to an Image control
MapGetImage(MAP_MyMapControl, CallbackMapGetImage)
 
INTERNAL PROCEDURE CallbackMapGetImage(MapImage is Image)
IMG_Image = MapImage
END
Syntax
MapGetImage(<Map control> , <WLanguage procedure>)
<Map control>: Control name
Name of Map control to use. If this parameter corresponds to an empty string (""), the Map control to which the current event belongs will be used.
<WLanguage procedure>: Procedure name
Name of the WLanguage procedure ("callback" procedure) that will be called when the image of the Map control becomes available.
This procedure has the following format:
PROCEDURE <Procedure name>(<Image>)
where <Image> is an Image variable containing the map displayed in the control.
Component : wd240obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment