Esempio n. 1
0
        /// <summary>
        ///     Gets the spatial reference.
        /// </summary>
        /// <param name="source">The source.</param>
        /// <returns>Returns a <see cref="ISpatialReference" /> representing the spatial reference of the feature class.</returns>
        public static ISpatialReference GetSpatialReference(this IFeatureClass source)
        {
            var geometryDef = source.GetGeometryDef();

            return(geometryDef.SpatialReference);
        }