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


Get The SchematicInMemoryDiagram Related To An In-Memory Schematic Feature Snippet (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference

Get The SchematicInMemoryDiagram Related To An In-Memory Schematic Feature Snippet

Retrieve the in-memory schematic diagram related to an in-memory schematic feature

[C#]
        /// <summary>
        /// Retrieve the in-memory schematic diagram related to an in-memory schematic feature
        /// </summary>
        /// <param name="schemFeature">The ISchematicInMemoryFeature contained in the in-memory schematic diagram</param>
        /// <returns>The retrieved ISchematicInMemoryDiagram</returns>
        public ESRI.ArcGIS.ISchematicInMemoryDiagram GetInMemoryDiagramFromSchematicInMemoryFeature(ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature schemFeature)
        {
            return schemFeature.SchematicInMemoryDiagram;
        }
[Visual Basic .NET]
        ''' <summary>
        ''' Retrieve the in-memory schematic diagram related to an in-memory schematic feature
        ''' </summary>
        ''' <param name="schemFeature">The ISchematicInMemoryFeature contained in the in-memory schematic diagram</param>
        ''' <returns>The retrieved ISchematicInMemoryDiagram</returns>
        Public Function GetInMemoryDiagramFromSchematicInMemoryFeature(ByVal schemFeature As ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature) As ESRI.ArcGIS.Schematic.ISchematicInMemoryDiagram

                Return schemFeature.SchematicInMemoryDiagram
        End Function

Additional Requirements
  • The code in this document requires the following References added to the Visual Studio project:
  • ESRI.ArcGIS.Schematic