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


IProjectedCoordinateSystem2.GetHorizon Method (ArcObjects .NET 10.4 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,
  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

IProjectedCoordinateSystem2 Interface