Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Draw Label

$
0
0
Good morning.
I'm working with the Draw method and after drawing a point I would like to associate with a label.
The code that use in Access 2010 is as follows:

LastrinaOsservatore = Map0.NewDrawing (dlSpatiallyReferencedList)
Map0.DrawPointEx LastrinaOsservatore, LonOss, LatOss, 3, RGB (255, 0, 0)
Map0.DrawLabelEx LastrinaOsservatore, "Observer", RGB (255, 0, 0), LonOss, LatOss, tkLabelAlignment.laCenter


The point on the map draws it in the position indicated by the coordinates, but on DrawLabelEx gives me an error: "Wrong number of arguments or invalid property assignment".

1) What is wrong in the syntax of DrawLabelEx?
2) How do I insert in Access 2010 use of MapWinGis IntelliSense to display the description of the functions and in particular the list of their parameters?

Thank you.

Nicolò

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>