This document is archived and information here might be outdated.  Recommended version.


ISchematicLayer.GetSchematicFeaturesInZoneByType Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Schematic)  

ISchematicLayer.GetSchematicFeaturesInZoneByType Method

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

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

Parameters ElementType [in]
ElementType is a parameter of type esriSchematicElementType 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 bool OnlyVisible [in]
OnlyVisible is a parameter of type bool

Product Availability

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

See Also

ISchematicLayer Interface