PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 the Map control to be used. 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") called when the Map control image is available.
This procedure has the following format:
PROCEDURE <Procedure name>(<Image>)
where <Image> is an Image variable containing the map displayed in the control.
Remarks
iPhone/iPad If the Map control contains MapPolyline drawings that use the Geodesic property, the Geodesic property will be ignored in the image obtained.
Component: wd260obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment