![]() |
This document is archived and information here might be outdated. Recommended version. |
Retrieve the schematic diagram related to a schematic layer
/// <summary>
/// Retrieve the schematic diagram related to a schematic layer
/// </summary>
/// <param name="schemLayer">The ISchematicLayer the schematic diagam is related to</param>
/// <returns>The retrieved ISchematicDiagram</returns>
public ESRI.ArcGIS.ISchematicDiagram GetDiagramFromSchematicLayer(ESRI.ArcGIS.Schematic.ISchematicLayer schemLayer)
{
return schemLayer.SchematicDiagram;
}
''' <summary>
''' Retrieve the schematic diagram related to a schematic layer
''' </summary>
''' <param name="schemLayer">The ISchematicLayer the schematic diagam is related to</param>
''' <returns>The retrieved ISchematicDiagram</returns>
Public Function GetDiagramFromSchematicLayer(ByVal schemLayer As ESRI.ArcGIS.Schematic.ISchematicLayer) As ESRI.ArcGIS.Schematic.ISchematicDiagram
Return schemLayer.SchematicDiagram
End Function