ArcObjects Library Reference  (Geometry)    

IEnvelope.PutCoords Method

Constructs an envelope from the coordinate values of lower, left and upper, right corners.

[Visual Basic 6.0]
Sub PutCoords(
    ByVal XMin As Double, _
    ByVal YMin As Double, _
    ByVal XMax As Double, _
    ByVal YMax As Double _
)
[Visual Basic .NET]
Public Sub PutCoords ( _
    ByVal XMin As Double, _
    ByVal YMin As Double, _
    ByVal XMax As Double, _
    ByVal YMax As Double _
)
[C#]
public void PutCoords (
    double XMin,
    double YMin,
    double XMax,
    double YMax
);
[Java]
public void putCoords (
    double XMin,
    double YMin,
    double XMax,
    double YMax
)
throws
    IOException,
    AutomationException
[C++]
HRESULT PutCoords(
  double XMin,
  double YMin,
  double XMax,
  double YMax
);
[C++]

Parameters

XMin

  XMin is a parameter of type double

YMin

  YMin is a parameter of type double

XMax

  XMax is a parameter of type double

YMax

  YMax is a parameter of type double

Product Availability

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

Description

Defines an Envelope given the XMin, YMin, XMax, and YMax.  If XMin > XMax or if YMin > YMax, the created Envelope uses the input values, but properly reassigns the Min and Max values.

Remarks

 

Envelope PutCoords Example

See Also

IEnvelope Interface | IEnvelope.QueryCoords Method

Example

IEnvelope_PutCoords_Example

 


Feedback Send feedback on this page