This document is archived and information here might be outdated. Recommended version. |
Retrieve all the schematic features currently selected in a ISchematicLayer
/// <summary> /// Retrieve all the schematic features currently selected in a ISchematicLayer /// </summary> /// <param name="schemLayer">The ISchematicLayer where the schematic features are selected</param> /// <param name="OnlyVisible">If OnlyVisible is true, only the visible selected features are returned</param> /// <returns>The retrieved IEnumSchematicFeature</returns> public ESRI.ArcGIS.Schematic.IEnumSchematicFeature GetSelectedFeatureFromSchematicLayer(ESRI.ArcGIS.Schematic.ISchematicLayer schemLayer, bool OnlyVisible) { return schemLayer.GetSchematicSelectedFeatures(OnlyVisible); }
''' <summary> ''' Retrieve all the schematic features currently selected in a ISchematicLayer ''' </summary> ''' <param name="schemLayer">The ISchematicLayer where the schematic features are selected</param> ''' <param name="OnlyVisible">If OnlyVisible is true, only the visible selected features are returned</param> ''' <returns>The retrieved IEnumSchematicFeature</returns> Public Function GetSelectedFeaturesFromSchematicLayer(ByVal schemLayer As ESRI.ArcGIS.Schematic.ISchematicLayer, ByVal OnlyVisible As Boolean) As ESRI.ArcGIS.Schematic.IEnumSchematicFeature Return schemLayer.GetSchematicSelectedFeatures(OnlyVisible) End Function