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


IGeographicCoordinateSystem2.ExtentHint Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeographicCoordinateSystem2 Interface > IGeographicCoordinateSystem2.ExtentHint Property
ArcGIS Developer Help

IGeographicCoordinateSystem2.ExtentHint Property

Calculates a 360 degree longitude range from information in the specified envelope and the domain extent of the GCS.

[Visual Basic .NET]
Public WriteOnly Property ExtentHint
[C#]
public void ExtentHint {set;}
[C++]
HRESULT put_ExtentHint(
  WKSEnvelope* 
);
[C++]
Parameters
 

is a parameter of type WKSEnvelope*

Product Availability

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

Description

The ExtentHint, LeftLongitude, and RightLongitude properties are interrelated. Usually, data in a geographic coordinate system has longitude values between -180 and 180 if the unit of measure is degrees. Some datasets are designed to use a minimum longitude value of 0 or -360. The LeftLongitude property controls whether the data is considered as -360 to 0, -180 to 180, or 0 to 360. If two datasets have spatial references with different LeftLongitude values, one needs to be converted to match the other one. You can do this with the GeoNormalize method on IGeometry. ExtentHint is calculated internally by looking at the extent of the data. If the results used to set the LeftLongitude property are incorrect, you can use an envelope to set ExtentHint.

See Also

IGeographicCoordinateSystem2 Interface