This project is read-only.

user defined point: change image

May 4, 2011 at 3:53 PM
Edited May 4, 2011 at 4:22 PM


i need to change at runtime the user defined point for a shape;

i use set_UDPointType() function to set the image related to shape on the map;

now, i want that, pressing a button, i can change the image related to that can i do this??


second point: i have a function that rotates an image and returns a bitmap, but i cannot update the related image on the map for the related shape---how can i do it?is there a way to update at runtime the image stored in udpointlist?

please need help!

Thanks a lot

May 24, 2011 at 10:04 AM

anybody can help me for this issue?


May 31, 2011 at 9:08 PM

Have you tried:

Image image = AxMap1.get_UDPointImageListItem(layer, I)



You'll have to have the same size image though in order to use SetImageBitsDC.

May 31, 2011 at 9:11 PM

On the first one, you could add both images to the array of images, then AxMap1.set_ShapePointImageListID(layer, shp, imageIndex).