ESRI.ArcGIS.ADF.Web
ToScreenPoint(Envelope,Int32,Int32) Method
See Also 
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Point Class > ToScreenPoint Method : ToScreenPoint(Envelope,Int32,Int32) Method




extent
Envelope of the map.
imageWidth
Width of the map image.
imageHeight
Height of the map image.
Converts a point in map coordinates to a Point in screen coordinates (pixel coordinates).

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute()>
Public Overloads Function ToScreenPoint( _
   ByVal extent As Envelope, _
   ByVal imageWidth As Integer, _
   ByVal imageHeight As Integer _
) As Point
Visual Basic (Usage)Copy Code
Dim instance As Point
Dim extent As Envelope
Dim imageWidth As Integer
Dim imageHeight As Integer
Dim value As Point
 
value = instance.ToScreenPoint(extent, imageWidth, imageHeight)
C# 
[ObsoleteAttribute()]
public Point ToScreenPoint( 
   Envelope extent,
   int imageWidth,
   int imageHeight
)

Parameters

extent
Envelope of the map.
imageWidth
Width of the map image.
imageHeight
Height of the map image.

Return Value

Screen-point (pixel-point) of converted map Point.

Remarks

This method is deprecated because it does not account for possible rotation of the Map. Use ToScreenPoint(TransformationParams) instead.

See Also

© 2010 All Rights Reserved.