![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
ToMapEnvelope(Rectangle,Envelope,Int32,Int32) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Envelope Class > ToMapEnvelope Method : ToMapEnvelope(Rectangle,Envelope,Int32,Int32) Method |
- screenRectangle
- Rectangle to convert
- extent
- Map envelope.
- imageWidth
- Width of map in pixels.
- imageHeight
- Height of map in pixels.
Visual Basic (Declaration) | |
---|---|
<ObsoleteAttribute()> Public Overloads Shared Function ToMapEnvelope( _ ByVal screenRectangle As Rectangle, _ ByVal extent As Envelope, _ ByVal imageWidth As Integer, _ ByVal imageHeight As Integer _ ) As Envelope |
Visual Basic (Usage) | ![]() |
---|---|
Dim screenRectangle As Rectangle Dim extent As Envelope Dim imageWidth As Integer Dim imageHeight As Integer Dim value As Envelope value = Envelope.ToMapEnvelope(screenRectangle, extent, imageWidth, imageHeight) |
C# | |
---|---|
[ObsoleteAttribute()] public static Envelope ToMapEnvelope( Rectangle screenRectangle, Envelope extent, int imageWidth, int imageHeight ) |
Parameters
- screenRectangle
- Rectangle to convert
- extent
- Map envelope.
- imageWidth
- Width of map in pixels.
- imageHeight
- Height of map in pixels.
Return Value
The converted 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