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


IProjectedCoordinateSystem2.GetHorizon Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IProjectedCoordinateSystem2.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,
  Boolean* Inclusive
);
[C++]

Parameters horizonEnvelope [out]
horizonEnvelope is a parameter of type WKSEnvelope* Inclusive [out]
Inclusive is a parameter of type bool*

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

IProjectedCoordinateSystem2 Interface