PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV, WEBDEV and WINDEV Mobile 26 feature!
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
Adds a new image to the map displayed in a Map control.
Example
// Add an image to the Map control
ImageOnMap is MapImage
ImageOnMap.Position = MyPosition
ImageOnMap.Image = "image.png"
ImageOnMap.ActionClick = ClickProc
MAP_MyMap.AddImage(ImageOnMap)
Syntax
<Result> = <Map control>.AddImage(<Image>)
<Result>: Boolean
  • True if the image could be added,
  • False otherwise. To get the details of the error, use ErrorInfo.
<Map control>: Control name
Name of Map control to use.
<Image>: MapImage variable
Name of the MapImage variable that corresponds to the image to be added.
Remarks
  • If the image has already been added to the Map control or if it is invalid (e.g.: unspecified width), a fatal error will be displayed.
  • To delete an image drawn in a Map control, use MapDeleteImage.
  • To modify an image drawn in a Map control, use <Map>.ModifyImage.
Business / UI classification: UI Code
Component: wd260obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment