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


IVector.SubtractVector Method (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.SubtractVector Method
ArcGIS Developer Help

IVector.SubtractVector Method

Construct a new vector by subtracting a different vector from this vector.

[Visual Basic .NET]
Public Function SubtractVector ( _
    ByVal otherVector As IVector _
) As IVector
[C#]
public IVector SubtractVector (
    IVector otherVector
);
[C++]
HRESULT SubtractVector(
  IVector* otherVector
);
[C++]
Parameters
otherVector 

otherVector is a parameter of type IVector*

Product Availability

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

Description

Returns a newly constructed Vector by subtracting the components of the input vector from the corresponding components of the base vector.

Remarks

 

IVector SubtractVector Example

See Also

IVector Interface