ArcObjects Library Reference (DefenseSolutions)  

IMeasurementTool.Distance Property

Distance along a Geoline between the FromPoint and ToPoint.

[Visual Basic .NET]
Public Property Distance As Double
[C#]
public double Distance {get; set;}
[C++]
HRESULT get_Distance(
  double* pdDistance
);
[C++]
HRESULT put_Distance(
  double pdDistance
);
[C++]

Parameters

pdDistance [out, retval]   pdDistance is a parameter of type double pdDistance [in]   pdDistance is a parameter of type double

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Remarks

The units for this property are meters.

See Also

IMeasurementTool Interface

.NET Snippets

Get Distance from Two Points |

.NET Samples

Geodesy MapControl (Code Files: GeodesyMapControl) |