PeppeM
05-05-2006, 05:49 AM
I export a bmp of map by using the clipboard..
My clipboard exporting is calibrated by using a centerLocation.
First i do centerLocation.goTo();
Then I export image from a clipboard.
I wish to use this mechanism to export adiacent map section(N,E,W,S), by panning exactly (with same altitude, width and height) in a adiacent zone.
Finally by create a new bigimage i compose the final image.
(map web page exporting is good(3500pixelX3500pixel) but not for my work!)
Wilfried
05-06-2006, 12:58 PM
I dont understeand the problem, but what is adiacent ? (Sorry English is not my native language).
PeppeM
05-06-2006, 02:38 PM
Excuse me for my bad english.
adjacent == close
An example for explain better my problem (I hope :D).
Imagine a big virtual desktop on your pc (1000x1000pixel).
You have only a real resolution of 500x500 pixel.
You have with c# language the possibilty of capture a screenshot of your real desktop 500x500.
But you want a screenshot of the entire big virtual desktop 2000x2000. so you must capture 4 screenshot 500x500 adjacent and then paste it and obtain a big desktop screenshot.
I capture the first square [0,0 500,500]
I have a method in c# that also permits to pan the destkop so I can move the screen left to 500pixel. I capture the second [500,0,1000,500]
and so on with third and fourth
My problem is analogous, with mappoint 2004 activeX.
Wilfried
05-07-2006, 01:02 PM
Hi,
I think I understeand now.
First goto the location with zoom level of complete view. then create 4 Location objects with XYToLocation for you top/left, top/right, bottom/left, bottom/right views. You can calculate them according to the Width and Height properites. Then zoom to the level where you have just 1/4 of the screen (dont know the zoom factor to calculate but with some investigation should be possible). Then Goto the 4 locations with the right zoom level.
Is that making sence ?