This document is archived and information here might be outdated. Recommended version. |
Retrieve the geometry for an in-memory schematic feature
/// <summary> /// Retrieve the geometry for an in-memory schematic feature /// </summary> /// <param name="schemFeature">The ISchematicInMemoryFeature for which you want to retrieve the geometry</param> /// <returns>The IGeometry</returns> public void GetFeatureGeometry(ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature schemFeature) { return (ESRI.ArcGIS.Geometry.IGeometry)schemFeature.ShapeCopy; }
''' <summary> ''' Retrieve the geometry for an in-memory schematic feature ''' </summary> ''' <param name="schemFeature">The ISchematicInMemoryFeature for which you want to retrieve the geometry</param> ''' <returns>The IGeometry</returns> Public Function GetFeatureGeometry(ByVal schemFeature As ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature) As ESRI.ArcGIS.Geometry.IGeometry Return TryCast(schemFeature.ShapeCopy, ESRI.ArcGIS.Geometry.IGeometry) End Function