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


ISchematicLayer.GetSchematicFeaturesInZoneByType Method (ArcObjects .NET 10.4 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,
  IEnumSchematicFeature** SchematicFeatures
);
[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 VARIANT_BOOL OnlyVisible [in] OnlyVisible is a parameter of type VARIANT_BOOL SchematicFeatures [out, retval]
SchematicFeatures is a parameter of type IEnumSchematicFeature

Product Availability

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

See Also

ISchematicLayer Interface