ArcObjects Library Reference (Geometry)  

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(
  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