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


IEnvelope.DefineFromWKSPoints Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IEnvelope.DefineFromWKSPoints Method

Defines the envelope to cover all the points.

[Visual Basic .NET]
Public Sub DefineFromWKSPoints ( _
    ByVal Count As Integer, _
    ByRef Points As WKSPoint _
)
[C#]
public void DefineFromWKSPoints (
    int Count,
    ref WKSPoint Points
);
[C++]
HRESULT DefineFromWKSPoints(
  long Count,
  WKSPoint* Points
);
[C++]

Parameters Count
Count is a parameter of type long Points [in]
Points is a parameter of type WKSPoint*

Product Availability

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

Description

Defines this Envelope from an array of WKSPoint structures.  The XMin, YMin, XMax, and YMax correspond to the minimum X value, minimum Y value, maximum X value, and maximum Y value respectively of the the Points in the array.

See Also

IEnvelope Interface