![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
TransformGeometryToScreen(Geometry,TransformationParams) Method | |
See Also Send Feedback |
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) | ![]() |
---|---|
Dim geometry As Geometry Dim transformationParams As TransformationParams Geometry.TransformGeometryToScreen(geometry, transformationParams) |
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.
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