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


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

IVector.ConstructSubtractVector Method

Set this vector by subtracting the second input vector from the first one.

[Visual Basic .NET]
Public Sub ConstructSubtractVector ( _
    ByVal vector1 As IVector, _
    ByVal vector2 As IVector _
)
[C#]
public void ConstructSubtractVector (
    IVector vector1,
    IVector vector2
);
[C++]
HRESULT ConstructSubtractVector(
  IVector* vector1,
  IVector* vector2
);
[C++]
Parameters
vector1 

vector1 is a parameter of type IVector* vector2
vector2 is a parameter of type IVector*

Product Availability

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

Description

Constructs a new Vector by subtracting the components of the second vector from the corresponding components of the first vector.

Remarks

 

IVector ConstructSubtractVector Example

See Also

IVector Interface