![]() |
This document is archived and information here might be outdated. Recommended version. |
| ArcObjects Help for .NET developers > ESRI.ArcGIS.Snippets > Snippets > Get The SchematicDiagram Related To An In-Memory Schematic Feature Snippet (ArcObjects .NET 10.4 SDK) |
Retrieve the schematic diagram related to an in-memory schematic feature
/// <summary>
/// Retrieve the schematic diagram related to an in-memory schematic feature
/// </summary>
/// <param name="schemFeature">The ISchematicInMemoryFeature contained in the schematic diagram</param>
/// <returns>The retrieved ISchematicDiagram</returns>
public ESRI.ArcGIS.ISchematicDiagram GetDiagramFromSchematicInMemoryFeature(ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature schemFeature)
{
return schemFeature.SchematicDiagram;
}
''' <summary>
''' Retrieve the schematic diagram related to an in-memory schematic feature
''' </summary>
''' <param name="schemFeature">The ISchematicInMemoryFeature contained in the schematic diagram</param>
''' <returns>The retrieved ISchematicDiagram</returns>
Public Function GetDiagramFromSchematicInMemoryFeature(ByVal schemFeature As ESRI.ArcGIS.Schematic.ISchematicInMemoryFeature) As ESRI.ArcGIS.Schematic.ISchematicDiagram
Return schemFeature.SchematicDiagram
End Function