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


IVector.ConstructSubtractVector Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

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