This document is archived and information here might be outdated. Recommended version. |
Retrieve the in-memory schematic diagram related to a schematic layer. The schematic diagram needs to be loaded in memory.
/// <summary> /// Retrieve the in-memory schematic diagram related to a schematic layer /// </summary> /// <param name="schemLayer">The ISchematicLayer the in-memory schematic diagam is related to</param> /// <returns>The retrieved ISchematicInMemoryDiagram</returns> public ESRI.ArcGIS.ISchematicInMemoryDiagram GetInMemoryDiagramFromSchematicLayer(ESRI.ArcGIS.Schematic.ISchematicLayer schemLayer) { // the schematic diagram needs to be loaded in memory return schemLayer.SchematicInMemoryDiagram; }
''' <summary> ''' Retrieve the in-memory schematic diagram related to a schematic layer ''' </summary> ''' <param name="schemLayer">The ISchematicLayer the in-memory schematic diagam is related to</param> ''' <returns>The retrieved ISchematicInMemoryDiagram</returns> Public Function GetInMemoryDiagramFromSchematicLayer(ByVal schemLayer As ESRI.ArcGIS.Schematic.ISchematicLayer) As ESRI.ArcGIS.Schematic.ISchematicInMemoryDiagram ' the schematic diagram needs to be loaded in memory Return schemLayer.SchematicInMemoryDiagram End Function