Hi,
I'm trying to generate labels automatically, but nothing is displayed on map component. It's impossible for me to find an explaination :
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