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