AnsweredAssumed Answered

Get The Extent of Underlying Data of a Layer

Question asked by schmiddor on Oct 30, 2013
Latest reply on Oct 30, 2013 by schmiddor
Hello,

In ArcMap I have a SpatialReference EPSG 32633 of the Dataframe and a Layer(Shape) loaded with EPSG 31494. Now I want to get the Extent of the original underlying Data. So I take my Layer as IGeoDataset:

ESRI.ArcGIS.Geometry.ISpatialReference spatialReference = (pLayer as IGeoDataset).SpatialReference; ESRI.ArcGIS.Geometry.IEnvelope envelope =  (pLayer as IGeoDataset).Extent;


The SpatialReference is 31494, but the Extent shows me the Coordinates in EPSG 32633.

In the Properties-Dialog of the Layer the Extent shows the Coordinates in 31494. How can I get these Coordinates?

Thanks for any idea.

Outcomes