Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

Export map to gif

This is a discussion on Export map to gif within the MapPoint Desktop Discussion forums, part of the Map Forums category; Is there a way to programatically export a map to a gif from MapPoint 2002?...

  1. #1
    pd1
    pd1 is offline Junior Member White Belt
    Join Date
    Feb 2003
    Posts
    1

    Export map to gif

    Is there a way to programatically export a map to a gif from MapPoint 2002?
    Phil

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    exporting mappoint map as a gif

    I use the saveas function in VB.NET and save the map as an html page.
    One of the files in the subfolder will be an image
    (ActiveXmap is the Active X map object on the form)
    Dim objMap As map
    Dim NA As New MapPoint.GeoMapRegion()
    ActiveXMap.NewMap(NA.geoMapNorthAmerica)
    ActiveXMap.PaneState = GeoPaneState.geoPaneLegend
    pinMap = ActiveXMap.ActiveMap
    pinMap.SaveAs("c:\myymap.htm", GeoSaveFormat.geoFormatHTMLMap, True)
    the gif image will be in a subfolder named the same as the htm file exisiting in the same folder as the htm file and will be named image_map.gif

    Hope this helps
    I just cut and paste code from an exisiting pgm I have, so if you have any problems executing the code, reply to the post and let me know

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. text export
    By lnorman in forum Products: Pushpin Tool, Single State Mapper
    Replies: 1
    Last Post: 12-13-2005, 11:29 AM
  2. Export to shapefile
    By davide_mappoint in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 10-28-2005, 10:03 AM
  3. export Latitude
    By Spahr in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-06-2005, 12:13 PM
  4. Export to excel
    By Dazzer in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 10-23-2003, 04:29 AM
  5. export to excel
    By gsully in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-08-2003, 09:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83