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

New Post: generateLabels display nothing

$
0
0
Hi,
I'm trying to generate labels automatically, but nothing is displayed on map component. It's impossible for me to find an explaination :
 ShapeDrawingMethod=dmNewWithLabels
 shpfile.GenerateLabels 0, lpCentroid
 map.Redraw
  • shpfile.labels.count always return the same numbers of shapes in the shapefile, so labels seems to be generated.
  • labels.visibility is set on true
  • but when i check labels.label.isDrawn for a random index shape, it's always false.
  • I tried with different shapefile, polylines and polygons...
  • the map.numberversion is 1
  • I'm using vb6, with 4.8 ocx

Viewing all articles
Browse latest Browse all 2341

Trending Articles



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