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
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> , <Procedure Name>)
<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 process belongs will be used.
<Procedure Name>: Character string (with or without quotes)
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.
Components
WINDEVReports and Queries wd230obj.dll
Android wd230android.jar
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment