MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




I need to use my own JPG image as a symbol

This is a discussion on I need to use my own JPG image as a symbol within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Greetings, Perhaps I've asked a similar question before. Sorry if I have. I need to use my own image file ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-11-2006
Senior Member
Green Belt
 
Join Date: Jul 2005
Posts: 105
I need to use my own JPG image as a symbol

Greetings,

Perhaps I've asked a similar question before. Sorry if I have.

I need to use my own image file as a symbol on my MapPoint map. So far, I know how to use a MapPointSymbol, which is a short, and which corresponds to an image in the Symbols list. But I need to replace that with my own jpg or bmp image.

Is this possible with MapPoint ActiveX??

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 02-11-2006
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,480
Blog Entries: 1
Yes.. just load in your own custom symbol.

Through the interface on the drawing tool you would import custom symbol.

Programmatically you use the Add method --

Add method (Symbols)
Adds a .bmp, .ico, or .cur file to the Symbols collection. Returns the newly created Symbol object.

Note that you have to convert your jpg to a bmp (ico or cur).

Here is the example from the help file --

Sub ImportCustomSymbol()

Dim objApp As New MapPoint.Application
Dim objMap As MapPoint.Map
Dim objPin As MapPoint.Pushpin
Dim objSymbol As MapPoint.Symbol

'Set up the application
Set objMap = objApp.ActiveMap
objApp.Visible = True
objApp.UserControl = True

'Add a Pushpin to the map
Set objPin = objMap.AddPushpin(objMap.FindResults("Seattle, WA")(1))

'Get a new symbol and change the symbol of the Pushpin on the map
Set objSymbol = objMap.Symbols.Add(objApp.Path + "\Samples\CAirport.bmp")
objPin.Symbol = objSymbol.ID

End Sub
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
image, jpg, symbol


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Save map as image Dazzer MapPoint 2006/2009 Discussion 1 05-23-2005 06:45 AM
Using a mappoint image Anonymous MapPoint 2006/2009 Discussion 2 03-16-2005 10:04 AM
MP web services image quality, can we improve image quality? Anonymous MapPoint 2006/2009 Discussion 1 02-08-2005 10:54 AM
Different image size webjagger MapPoint 2006/2009 Discussion 0 06-24-2004 08:14 AM
Retriving an image Anonymous MapPoint 2006/2009 Discussion 1 11-27-2003 08:42 PM


All times are GMT -5. The time now is 06:31 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54