Converts a point in map coordinates to a Point in screen coordinates (pixel coordinates).
Syntax
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) |
Parameters
- extent
- Map envelope on which to based the conversion to screen coordinates. Normally the current MapView extent.
- imageWidth
- Width of the map image, in pixels.
- imageHeight
- Height of the map image, in pixels.
Return Value
Screen-point (pixel-point) of converted map Point.
Remarks
Requirements
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
See Also