ESRI.ArcGIS.ADF.Web.UI.WebControls
GetTransformationParams Method
See Also 
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 TransformationDirection _
) As TransformationParams
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim direction As TransformationDirection
Dim value As TransformationParams
 
value = instance.GetTransformationParams(direction)
C# 
public TransformationParams GetTransformationParams( 
   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().

See Also

© 2010 All Rights Reserved.