MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




GetPictureFromObject returns strange maps

This is a discussion on GetPictureFromObject returns strange maps within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi all, Have anyone successfully used GetPictureFromObject method ftom MapPointUtilities class in VS.NET environment? I have a Windows form with ...


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

Today's Posts Twitter Feed 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 08-30-2004
Junior Member
White Belt
 
Join Date: Aug 2004
Posts: 6
GetPictureFromObject returns strange maps

Hi all,

Have anyone successfully used GetPictureFromObject method ftom MapPointUtilities class in VS.NET environment?

I have a Windows form with MapPoint ActiveX on it and then an image object of the same size as ActiveX.
I am using VB6.Support.IPictureToImage(..) function call to cast ActiveMap's StdPicture to Image format supported by .NET, but the image I get looks completely out of the blue always showing some North-West states (WA, ID, OR) and looks very distorted.
Instead of ActiveX I tried launching MapPoint application programmatically and then called GetPictureFromObject on its ActiveMap object. Same effect - I am even getting part of the application navigation bar now showing in the image and everything is again very distorted.

CopyImage method of the map works just fine always returning the correct map image.

Any thoughts / suggestions would be very appreciated.

Alex O.
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
getpicturefromobject, maps, returns, strange


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
Strange behaviour with square brackets. fergdeff MapPoint 2006/2009 Discussion 4 01-07-2006 03:27 AM
strange order in the exported Excel flile pileggi MapPoint 2006/2009 Discussion 0 07-29-2005 10:08 AM
FindAddressResults returns nothing Anonymous MapPoint 2006/2009 Discussion 5 12-07-2004 04:23 AM
GetPictureFromObject with C# gingerbbm MapPoint 2006/2009 Discussion 1 09-11-2004 06:19 PM
How to use GetPictureFromObject in MapPoint 2k4 ? Anonymous MapPoint 2006/2009 Discussion 2 03-31-2004 07:58 AM


All times are GMT -5. The time now is 02:25 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Sharm El Sheikh Holiday
Enjoy the hot sun and fantastic beaches on your Sharm El Sheikh holiday! Check out the UlookUbook online offers...



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