This document is archived and information here might be outdated.  Recommended version.


IVector.Magnitude Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IV > IVector Interface > IVector.Magnitude Property
ArcGIS Developer Help

IVector.Magnitude Property

The length of the vector.

[Visual Basic .NET]
Public Property Magnitude As Double
[C#]
public double Magnitude {get; set;}
[C++]
HRESULT get_Magnitude(
  System.Double* Magnitude
);
[C++]
HRESULT put_Magnitude(
  double Magnitude
);
[C++]
Parameters
Magnitude [out, retval]

Magnitude is a parameter of type double* Magnitude
Magnitude is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns and sets the magnitude of the vector.  The magnitude is analgous to the length of the vector.

Remarks

 

IVector Magnitude Example

See Also

IVector Interface