ArcObjects Library Reference (Carto)  

IGeoFeatureLayer Interface

Provides access to members that control geographic aspects of a feature layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Provides access to symbolization and labeling properties for layers based on vector geographic data. Also provides a method for returning a read-only feature cursor of layer features that includes joined fields.

Members

Description
Read/write property AnnotationProperties Annotation properties.
Read/write property AnnotationPropertiesID The UID used for annotation properties.
Read-only property AreaOfInterest The default area of interest for the layer.
Read/write property Cached Indicates if the layer needs its own display cache.
Write-only property CurrentMapLevel Current map level for drawing symbols.
Read/write property DataSourceType Data source type.
Read/write property DisplayAnnotation Indicates if the layer displays annotation.
Read-only property DisplayFeatureClass Feature class used for display operations (may include joined fields).
Read/write property DisplayField Primary display field.
Method Draw Draws the layer to the specified display for the given draw phase.
Read/write property ExclusionSet The set of features that are excluded from drawing.
Read/write property FeatureClass The layer's feature class.
Read/write property MaximumScale Maximum scale (representative fraction) at which the layer will display.
Read/write property MinimumScale Minimum scale (representative fraction) at which the layer will display.
Read/write property Name Layer name.
Read/write property Renderer Renderer used to draw the layer.
Read/write property RendererPropertyPageClassID Class id of the property page for the renderer.
Read/write property ScaleSymbols Indicates if symbols are scaled for the layer.
Method Search Creates a cursor based upon the search criteria.
Method SearchDisplayFeatures Creates a cursor from the display feature class based upon the search criteria.
Read/write property Selectable Indicates if layer is selectable.
Read/write property ShowTips Indicates if the layer shows map tips.
Write-only property SpatialReference Spatial reference for the layer.
Read-only property SupportedDrawPhases Supported draw phases.
Read-only property TipText Map tip text at the specified location.
Read-only property Valid Indicates if the layer is currently valid.
Read/write property Visible Indicates if the layer is currently visible.

Inherited Interfaces

Interfaces Description
IFeatureLayer Provides access to members that control common aspects of a feature layer.
ILayer Provides access to members that work with all layers.

CoClasses that implement IGeoFeatureLayer

CoClasses and Classes Description
CadastralFabricSubLayer Cadastral Fabric Feature Layer Object.
CadFeatureLayer ESRI CAD Feature Layer class.
FeatureLayer A collection of features and their visual representation.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.
MADtedLayer (esriDefenseSolutions) A layer used to control the display of MA DTED Catalogs.
MARasterLayer (esriDefenseSolutions) A layer used to control the display of MA RPF Catalogs.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.

Remarks

IGeoFeatureLayer inherits from IFeatureLayer, and IFeatureLayer in turn inherits from ILayer. This means when you are working with a layer through IGeoFeatureLayer, that all of the properties and methods of IFeatureLayer and ILayer are directly available.

See Also

IFeatureLayer Interface | ILayer Interface

.NET Snippets

Get All Features from Point Search in GeoFeatureLayer | Load Tactical Graphic Layer | Load Force Element Layer | Get GeoFeatureLayer from Layer Index Number | Get First Feature from Point Search in GeoFeatureLayer |

.NET Samples

Add a traversal result to the map (Code Files: AddTraversalResultsToMap) | Change layer rendering using the SymbologyControl (Code Files: LayerRendering) | Displaying MOLE symbology with the GlobeControl (Code Files: MainForm) | Draw text on a MapControl (Code Files: DrawText) | Geoevents in a MapControl (Code Files: GeoEvents) | Implementing a property page for an ArcGIS Engine application (Code Files: SymbolSelectorPropPage) | Multivariate renderer (Code Files: MultivariateRendPropPage PropPageForm) | Retrieve a color ramp from the SymbologyControl (Code Files: ColorRamps) | Time Series Graph tool add-in (Code Files: TimeSeriesGraph) | Use an AlgorithmicColorRamp to color a ClassBreaksRenderer (Code Files: AlgorithmicColorRamp) |

.NET Related Topics

3DAnalyst | Converting labels to geodatabase annotation for a single layer | Converting labels to geodatabase annotation for an entire map | Converting labels to map annotation for a single layer | DefenseSolutions | How to define a renderer for your layer | How to use symbol level drawing |