![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
ToMapPoint(Int32,Int32,Envelope,Int32,Int32) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Point Class > ToMapPoint Method : ToMapPoint(Int32,Int32,Envelope,Int32,Int32) Method |
- pixelX
- X-coordinate of the screen-point (pixel-point) to convert.
- pixelY
- Y-coordinate of the screen-point (pixel-point) to convert.
- extent
- Envelope of the map.
- imageWidth
- Width of the map image in pixels.
- imageHeight
- Height of the map image in pixels.
Visual Basic (Declaration) | |
---|---|
<ObsoleteAttribute()> Public Overloads Shared Function ToMapPoint( _ ByVal pixelX As Integer, _ ByVal pixelY As Integer, _ ByVal extent As Envelope, _ ByVal imageWidth As Integer, _ ByVal imageHeight As Integer _ ) As Point |
Visual Basic (Usage) | ![]() |
---|---|
Dim pixelX As Integer Dim pixelY As Integer Dim extent As Envelope Dim imageWidth As Integer Dim imageHeight As Integer Dim value As Point value = Point.ToMapPoint(pixelX, pixelY, extent, imageWidth, imageHeight) |
C# | |
---|---|
[ObsoleteAttribute()] public static Point ToMapPoint( int pixelX, int pixelY, Envelope extent, int imageWidth, int imageHeight ) |
Parameters
- pixelX
- X-coordinate of the screen-point (pixel-point) to convert.
- pixelY
- Y-coordinate of the screen-point (pixel-point) to convert.
- extent
- Envelope of the map.
- imageWidth
- Width of the map image in pixels.
- imageHeight
- Height of the map image in pixels.
Return Value
Point in Map coordinates.This method is deprecated because it does not account for possible rotation of the Map. Use ToMapPoint(int, int, 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