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)
Visual Basic (Declaration) | |
---|---|
Public Function GetTransformationParams( _ ByVal direction As TransformationDirection _ ) As TransformationParams |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public TransformationParams GetTransformationParams( TransformationDirection direction ) |
Parameters
- direction
- Direction of the transformation (ToMap or ToScreen)
Return Value
Transformation parameters for the map.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().