ESRI.ArcGIS.ADF.Web.UI.WebControls
GetTransformationParams Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : GetTransformationParams Method




direction
Direction of the transformation (ToMap or ToScreen)
Returns transformation parameters for the map, for transforming between map and screen geometry.

Syntax

Visual Basic (Declaration) 
Public Function GetTransformationParams( _
   ByVal direction As ESRI.ArcGIS.ADF.Web.Geometry.TransformationDirection _
) As ESRI.ArcGIS.ADF.Web.Geometry.TransformationParams
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim direction As ESRI.ArcGIS.ADF.Web.Geometry.TransformationDirection
Dim value As ESRI.ArcGIS.ADF.Web.Geometry.TransformationParams
 
value = instance.GetTransformationParams(direction)
C# 
public ESRI.ArcGIS.ADF.Web.Geometry.TransformationParams GetTransformationParams( 
   ESRI.ArcGIS.ADF.Web.Geometry.TransformationDirection direction
)

Parameters

direction
Direction of the transformation (ToMap or ToScreen)

Return Value

Transformation parameters for the map.

Remarks

Use this method to obtain the necessary TransformationParams object in order to transform between screen (pixel) and map coordinates in several methods in the ESRI.ArcGIS.ADF.Web.Geometry namespace, such as ESRI.ArcGIS.ADF.Web.Geometry.Envelope.ToMapEnvelope(), ESRI.ArcGIS.ADF.Web.Geometry.Point.ToMapPoint(), and ESRI.ArcGIS.ADF.Web.Geometry.TransformationUtility.ToScreenPoints().

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

© 2011 All Rights Reserved.