ESRI.ArcGIS.ADF.Web | |
TransformGeometryToScreen(Geometry,TransformationParams) Method | |
See Also |
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Geometry Class > TransformGeometryToScreen Method : TransformGeometryToScreen(Geometry,TransformationParams) Method |
- geometry
- Geometry to transform
- transformationParams
- Transformation parameters. May be obtained from the Map.
Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Sub TransformGeometryToScreen( _ ByVal geometry As Geometry, _ ByVal transformationParams As TransformationParams _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static void TransformGeometryToScreen( Geometry geometry, TransformationParams transformationParams ) |
Parameters
- geometry
- Geometry to transform
- transformationParams
- Transformation parameters. May be obtained from the Map.
Use this form of the method instead of TransformGeometryToScreen(Geometry, Envelope, int, int) in order to account for rotation of the Map. The transformationParams may be obtained from the Map with Map.GetTransformationParams.
This method transforms each point of the geometry to screen pixel coordinates, similar to calling Point.ToScreenPoint() on each point of the geometry object.