Anonymous
01-14-2004, 11:00 AM
Help,
I need to export a map I created in mappoint into power point or any microsoft picture format.
I havn't been able to accomblish this task.
Can any one help?
Thanks
Gwheeler
Mossoft
01-15-2004, 06:15 AM
Havent tried it, but I reckon you need a picture control and then something like:
Dim oUtil As New MapPoint.MapPointUtilities
Picture1.Picture = oUtil.GetPictureFromObject(oMap)
SavePicture Picture1.Picture, "<filename>"
would at least get the image into a file that you could use.
HTH
M.
Bartman
01-15-2004, 07:54 AM
Or, a quick and dirty way is to send to as picture. Copy the picture from the email, then paste it into powerpoint.
Anonymous
01-29-2004, 08:15 AM
Probably the best way is from the File menu, select Save as Web Page.
Choose a suitable size for the map (max is 3500x3500), and ultimatley you will end up with a folder that amongst other things contains a file called image_map.gif.
You can then import or insert this GIF file into whatever application you like.
Anonymous
02-06-2004, 05:48 PM
I am in the same boat, and have been trying to get a programatic solution to this. For some reason the GetPictureFromObject method only copies data from the map after it has been saved.
Picture box only saves to bmp format, which is somewhat lame. I have been trying to use ImagXpress to load the image and save it to JPG or GIF, but I am still stuck with the original problem of not being able to get the map image out when I want to.
Can we get a real programatic answer other than "FILE SAVE AS"
John Meyer
02-09-2004, 01:44 PM
Here is my 2 cents
(Sample is VB6)
Make sure you have a Picture ctrl and make the visible = flase also make the autosize = true
Put this code in a command button.
In PowerPoint all you need to do is "Paste"
Dim objmap As MapPointCtl.Map
Dim objSW As MapPoint.SavedWebPage
Set objmap = MappointControl1.ActiveMap
Set objSW = objmap.SavedWebPages.Add(App.Path & "\SavedWeb", , "MapPoint Map", _
True, False, False, 1200, 800, False, False, False, False)
objSW.Save
Clipboard.Clear
Picture1.AutoRedraw = -1
Picture1.Picture = LoadPicture(App.Path & "\SavedWeb_files\image_map.gif")
Clipboard.SetData Picture1.Image, 2
stephen kilbee
02-16-2004, 12:54 PM
In MapPoint try left clicking anywhere on your map to highlight it.
Edit menu, click copy.
In PowerPoint or Word click your pointer where you want your map to be placed.
Edit menu, click Paste Special,
follow by clicking Device Independant Bitmap-ok
This should bring the legend as well.
Stephen Kilbee