Is there a way that I can zoom and pan at the same time, or one after the other....I am using the below code to zoom to a features extent...But I am looking to also shift the zoomed extent to the left or right....Can I pan by specifying a distance value in a particular direction?
' TAKE THE NEW UNION EXTENT AND ZOOM OUT A TAD
Dim ZoomTographicslayer2 As ESRI.ArcGIS.Client.Geometry.Envelope = NewExtent
Dim expandPercentage2 As Double = 5
Dim widthExpand2 As Double = ZoomTographicslayer2.Width * (expandPercentage2 / 8)
Dim heightExpand2 As Double = ZoomTographicslayer2.Height * (expandPercentage2 / 8)
Dim displayExtentParcelLocation2 As New ESRI.ArcGIS.Client.Geometry.Envelope(ZoomTographicslayer2.XMin - (widthExpand2 / 2), ZoomTographicslayer2.YMin - (heightExpand2 / 2), ZoomTographicslayer2.XMax + (widthExpand2 / 2), ZoomTographicslayer2.YMax + (heightExpand2 / 2))
MyMap.ZoomTo(displayExtentParcelLocation2
)