Converts a Web ADF point to an ArcGIS (ArcObjects) point.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function ToIPoint( _
ByVal point As ESRI.ArcGIS.ADF.Web.Geometry.Point, _
ByVal context As ESRI.ArcGIS.Server.IServerContext _
) As ESRI.ArcGIS.Geometry.IPoint |
Visual Basic (Usage) | Copy Code |
---|
Dim point As ESRI.ArcGIS.ADF.Web.Geometry.Point
Dim context As ESRI.ArcGIS.Server.IServerContext
Dim value As ESRI.ArcGIS.Geometry.IPoint
value = Converter.ToIPoint(point, context) |
C# | |
---|
public static ESRI.ArcGIS.Geometry.IPoint ToIPoint(
ESRI.ArcGIS.ADF.Web.Geometry.Point point,
ESRI.ArcGIS.Server.IServerContext context
) |
Parameters
- point
- The Web ADF Point to convert.
- context
- The ArcGIS Server context (IServerContext), available when working with Local connections to ArcGIS Server.
Return Value
The ArcGIS (ArcObjects) point (
IPoint) with the equivalent properties.
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