This document is archived and information here might be outdated. Recommended version. |
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*
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.