ArcObjects Library Reference (Geometry)  

IProjectedCoordinateSystem4GEN.GetHorizon Method

Returns the standard horizon polygon, its envelope, and whether it is inclusive or exclusive; the horizon polygon may be 0.

[Visual Basic .NET]
Public Function GetHorizon ( _
    ByRef horizonEnvelope As WKSEnvelope, _
    ByRef Inclusive As Boolean _
) As IGeometry
[C#]
public IGeometry GetHorizon (
    ref WKSEnvelope horizonEnvelope,
    ref bool Inclusive
);
[C++]
HRESULT GetHorizon(
  _WKSEnvelope* horizonEnvelope,
  VARIANT_BOOL* Inclusive,
  IGeometry** ppHorizon
);
[C++]

Parameters

horizonEnvelope [out]

  horizonEnvelope is a parameter of type _WKSEnvelope

Inclusive [out]   Inclusive is a parameter of type VARIANT_BOOL ppHorizon [out, retval]

  ppHorizon is a parameter of type IGeometry

Product Availability

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

Remarks

GetHorizon returns, in geographic coordinate system coordinates and unit of measure, the valid geometry of a projected coordinate system. The method also returns whether the geometry should be considered inclusive or exclusive, and its envelope.

See Also

IProjectedCoordinateSystem4GEN Interface