The geometry associated with the two points.
[Visual Basic .NET] Public Function get_GeometryByPoints ( _ ByVal fromPoint As IPoint, _ ByVal toPoint As IPoint _ ) As IGeometry
[C#] public IGeometry get_GeometryByPoints ( IPoint fromPoint, IPoint toPoint );
[C++]
HRESULT get_GeometryByPoints(
IPoint* fromPoint,
IPoint* toPoint,
IGeometry** Geometry
);
[C++]Parameters
fromPoint [in]fromPoint is a parameter of type IPoint
toPoint [in]toPoint is a parameter of type IPoint
Geometry [out, retval]Geometry is a parameter of type IGeometry
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.