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 6 of 6

Saving MapPoint Legends in .NET

This is a discussion on Saving MapPoint Legends in .NET within the Development forums, part of the MapPoint Desktop Discussion category; Does anyone know how to save or copy a MapPoint 2006 legend via .NET? I am trying to create Excel ...

  1. #1
    lzeitz is offline Lee White Belt
    Join Date
    Oct 2008
    Posts
    4

    Saving MapPoint Legends in .NET

    Does anyone know how to save or copy a MapPoint 2006 legend via .NET?

    I am trying to create Excel 2003 functionality where I copy maps programmatically into Excel 2003 from MapPoint 2006, but cannot figure out how to send the legend as well.

    Thanks,

    Lee

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: Saving MapPoint Legends in .NET

    You could "save as webpage" and then extract the resulting GIF images from the sub-directory that is created.

    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  3. #3
    lzeitz is offline Lee White Belt
    Join Date
    Oct 2008
    Posts
    4

    Re: Saving MapPoint Legends in .NET

    I know how to copy the legend manually, but i am attempting to write the code to either save or copy the legend in VB.NET so that I can automate the process.

    I am not aware of how to grab hold of the legend since it does not appear to be part of the map.

    I could not find any solutions where someone has done this before. How do I programmatically grab hold of the legend and copy or save it to a file?

    Thanks,

    Lee

  4. #4
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: Saving MapPoint Legends in .NET

    The programming interface has a "save to web" function. Use this - if you tell it to create a legend, then a GIF image of the legend will be created in the sub-directory that is created.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  5. #5
    lzeitz is offline Lee White Belt
    Join Date
    Oct 2008
    Posts
    4

    Re: Saving MapPoint Legends in .NET

    Richard,

    Thanks for helping me to understand the SaveToWeb functionality. I have one more question on the SaveToWeb functionality. Is it possible to save the entire legend instead of receiving one gif file per range in the the legend?

    Thanks,

    Lee

  6. #6
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: Saving MapPoint Legends in .NET

    I don't think so.

    I've used it more for the map images rather than the legend. If it isn't in the options in the help, then you probably can't do it.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Legends
    By Abitibi in forum General Chat
    Replies: 2
    Last Post: 09-29-2008, 08:28 AM
  2. saving mappoint route in a file
    By giaarcix in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 09-28-2006, 08:10 AM
  3. MapPoint hangs when saving map as HTML
    By tfmiltz in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-13-2005, 01:16 PM
  4. Saving Updated Territories from the MapPoint ActiveX Control
    By pauldivaniii in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-24-2005, 11:18 PM
  5. colours and legends
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 12-07-2004, 04:48 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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127