Hi,
My Application has two pages: The main navigation page and a print childWindow.
During execution time, if the user clicks on the print button, the print childwindow pops up showing the map inserted in a Print Layout.
The problem is that each page has diferent dimensions, and when i pass the map from one another, i make a zoom passing the envelope from the other. With this, the scale of the map changes.
Is there anyway to Zoom using the scale instead of the envelope?
here's how I Zoom the map:
printer.printMap.ZoomTo(this._extentHistory[this._currentExtentIndex]);
_extentHistory is a List of Envelopes that records the map interactions.
_currentExtentIndex a int that records the actual position in the history of interactions.