This document is archived and information here might be outdated. Recommended version. |
Defines the envelope to cover all the points.
[Visual Basic .NET] Public Sub DefineFromPoints ( _ ByVal Count As Integer, _ ByRef Points As IPoint _ )
[C#] public void DefineFromPoints ( int Count, ref IPoint Points );
[C++]
HRESULT DefineFromPoints(
long Count,
IPoint** Points
);
[C++] Parameters Count
Count is a parameter of type long Points [in]
Points is a parameter of type IPoint**
Defines this Envelope from an array of Points. 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.
This is similar to getting the Envelope of a Multipoint.
Note: It is also possible to define a degenerate point Envelope by passing a single Point as an argument. The IPoint parameter accepts both a single IPoint object and an array of IPoints. To use an array, pass the desired starting element of the array as the input argument.