MapMonkey
06-23-2004, 10:21 AM
I'm rather new to MapPoint. My current vb.net project requires the use of many custom pushpin symbols. Easy enough:
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.
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.