Transforms a geometry in map units to screen units. The object is modified by this method. Use the Clone method on the original Geometry object if you need to keep the original unmodified.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim geometry As Geometry
Dim extent As Envelope
Dim imageWidth As Integer
Dim imageHeight As Integer
Geometry.TransformGeometryToScreen(geometry, extent, imageWidth, imageHeight) |
Parameters
- geometry
- The geometry to transform.
- extent
- The Envelope representing the visible region
- imageWidth
- The width of the image in pixels that corresponds to the extent.
- imageHeight
- The height of the image in pixels that corresponds to the extent.
Remarks
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