View Single Post

  #1 (permalink)  
Old 06-23-2004
MapMonkey's Avatar
MapMonkey MapMonkey is offline
Junior Member
White Belt
 
Join Date: Jun 2004
Posts: 2
pushpin symbols from imagelist?

I'm rather new to MapPoint. My current vb.net project requires the use of many custom pushpin symbols. Easy enough:

Code:
If File.Exists(Application.StartupPath & "\Symbols\New.ico") Then
   symNew = mSymbols.Add(Application.StartupPath & "\Symbols\New.ico")
   oMap.DataSets("New").Symbol = symNew.ID
Else
   oMap.DataSets("New").Symbol = 17
End If
However, I would prefer to load the custom symbols from an imagelist, keeping "inquiring minds" from "improving" the symbols used for specified db values (the whole point of the app is to standardize symbology). So far my efforts have failed.

Q: Are there options to symbols.Add(PathToImage) for loading images into the symbols collection?

Thanks in advance.
__________________
"Quit worrying about the data and just make it work!" - Former Boss
Reply With Quote