ArcObjects Library Reference (Schematic)  

ISchematicLayer.GetSchematicFeaturesInZoneByClass Method

Schematic features of the specified class returned by a spatial query baed on a polygon.

[Visual Basic .NET]
Public Function GetSchematicFeaturesInZoneByClass ( _
    ByVal SchematicElementClass As ISchematicElementClass, _
    ByVal Polygon As IPolygon, _
    ByVal SpatialRelation As esriSpatialRelEnum, _
    ByVal OnlySelectable As Boolean, _
    ByVal OnlyVisible As Boolean _
) As IEnumSchematicFeature
[C#]
public IEnumSchematicFeature GetSchematicFeaturesInZoneByClass (
    ISchematicElementClass SchematicElementClass,
    IPolygon Polygon,
    esriSpatialRelEnum SpatialRelation,
    bool OnlySelectable,
    bool OnlyVisible
);
[C++]
HRESULT GetSchematicFeaturesInZoneByClass(
  ISchematicElementClass* SchematicElementClass,
  IPolygon* Polygon,
  esriSpatialRelEnum SpatialRelation,
  VARIANT_BOOL OnlySelectable,
  VARIANT_BOOL OnlyVisible,
  IEnumSchematicFeature** InMemoryFeatures
);
[C++]

Parameters

SchematicElementClass [in]

  SchematicElementClass is a parameter of type ISchematicElementClass

Polygon [in]

  Polygon is a parameter of type IPolygon

SpatialRelation [in]

  SpatialRelation is a parameter of type esriSpatialRelEnum

OnlySelectable [in]   OnlySelectable is a parameter of type VARIANT_BOOL OnlyVisible [in]   OnlyVisible is a parameter of type VARIANT_BOOL InMemoryFeatures [out, retval]

  InMemoryFeatures is a parameter of type IEnumSchematicFeature

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

See Also

ISchematicLayer Interface