|
|
|
|
|
MapAddImage (Function) In french: CarteAjouteImage Adds a new image to the map displayed in a Map control.
ImageSurCarte is MapImage
ImageSurCarte.Position = MaPosition
ImageSurCarte.Image = "image.png"
ImageSurCarte.ActionClick = ProcClic
MapAddImage(CARTE_MaCarte, ImageSurCarte)
Syntax
<Result> = MapAddImage(<Map control> , <Image>)
<Result>: Boolean - True if the image could be added,
- False otherwise. To get more details on the error, use ErrorInfo.
<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. <Image>: MapImage variable Name of the MapImage variable that corresponds to the image to be added. Remarks - If the image has already been added in the Map control or if the image is invalid (e.g. width not specified), 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 MapModifyImage.
Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|