Can this be done? How
This is a discussion on Convert .ptm to .jpg within the MapPoint Desktop Discussion forums, part of the Map Forums category; Can this be done? How...
Can this be done? How
You can do it with e.g. the Lead Tool Control.
I am trying to find a way to convert Map Point's .ptm file into a jpg or perhaps a .png file.
I picked up this old thread were you mentioned it was possible with
a "Lead Tool Control".
Can you tell me what this is and such informtion please?
However, saving it as an html page, then saving this html image as a gif, only produces a 'screen shot' of the image, thus any zoom-in functionality becomes redundent.
Your not saving it as an html page, then saving this html image as a gif.
I have no idea what you mean by "thus any zoom-in functionality becomes redundent" If you create a jpg or a gif of a map in mappoint there will not be any zooming, it will be a static graphic. I'm sure you know that so I dont know what you are saying?
Try this, save as a webpage interactivly using mappoint (from the
file menu click save as webpage) The gif file will be in the subfolder that is created based on the filename you provide. When you open the dialog to save as webpage you will see you can specify the size of the image.
or if you were doing it in code it might look like this:
Code:Dim objApp As New MapPoint.Application Dim objMap As MapPoint.Map Dim objRoute As MapPoint.Route Dim objSW As MapPoint.SavedWebPage 'Set up the application Set objMap = objApp.ActiveMap Set objRoute = objMap.ActiveRoute objApp.Visible = True objApp.UserControl = True 'Create a route objRoute.Waypoints.Add objMap.FindResults("Seattle, WA").Item(1) objRoute.Waypoints.Add objMap.FindResults("Redmond, WA").Item(1) objRoute.Calculate 'Use SavedWebPages property to create a saved Web page Set objSW = objMap.SavedWebPages.Add("SavedWeb", _ objRoute.Waypoints.Item(1).Location, "New Title", _ True, False, True, 760, 570, False, True, False, True) objSW.Save
Got little confused in my description there.
What I was trying to get was a close-up image (with detail) of an extent, of a large area, say an area of a major city, which would result in a rather large file. Hence, I wished to learn how to convert the original map file to antoher format.
There are currently 1 users browsing this thread. (0 members and 1 guests)