![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
ToMapEnvelope(Int32,Int32,Int32,Int32,Envelope,Int32,Int32) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Envelope Class > ToMapEnvelope Method : ToMapEnvelope(Int32,Int32,Int32,Int32,Envelope,Int32,Int32) Method |
- pixelLeft
- Left x-coordinate of the screen rectangle.
- pixelBottom
- Bottom y-coordinate of the screen rectangle.
- pixelRight
- Right x-coordinate of the screen rectangle.
- pixelTop
- Top y-coordinate of the screen rectangle.
- extent
- Extent of the map (in map coordinates)
- imageWidth
- Width of the map in pixels.
- imageHeight
- Height of the map in pixels.
Visual Basic (Declaration) | |
---|---|
<ObsoleteAttribute()> Public Overloads Shared Function ToMapEnvelope( _ ByVal pixelLeft As Integer, _ ByVal pixelBottom As Integer, _ ByVal pixelRight As Integer, _ ByVal pixelTop As Integer, _ ByVal extent As Envelope, _ ByVal imageWidth As Integer, _ ByVal imageHeight As Integer _ ) As Envelope |
Visual Basic (Usage) | ![]() |
---|---|
Dim pixelLeft As Integer Dim pixelBottom As Integer Dim pixelRight As Integer Dim pixelTop As Integer Dim extent As Envelope Dim imageWidth As Integer Dim imageHeight As Integer Dim value As Envelope value = Envelope.ToMapEnvelope(pixelLeft, pixelBottom, pixelRight, pixelTop, extent, imageWidth, imageHeight) |
C# | |
---|---|
[ObsoleteAttribute()] public static Envelope ToMapEnvelope( int pixelLeft, int pixelBottom, int pixelRight, int pixelTop, Envelope extent, int imageWidth, int imageHeight ) |
Parameters
- pixelLeft
- Left x-coordinate of the screen rectangle.
- pixelBottom
- Bottom y-coordinate of the screen rectangle.
- pixelRight
- Right x-coordinate of the screen rectangle.
- pixelTop
- Top y-coordinate of the screen rectangle.
- extent
- Extent of the map (in map coordinates)
- imageWidth
- Width of the map in pixels.
- imageHeight
- Height of the map in pixels.
Return Value
The map envelope.This method is deprecated because it does not account for possible rotation of the Map. Use ToMapEnvelope(Rectangle, TransformationParams) instead.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family