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

IAnnotateFeature.Label Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnotateFeature Interface > IAnnotateFeature.Label Method
ArcGIS Developer Help

IAnnotateFeature.Label Method

Labels a feature based on the properties given.

[Visual Basic .NET]
Public Sub Label ( _
    ByVal annoLayerProps As IAnnotateLayerProperties, _
    ByVal Feature As IFeature, _
    ByVal Display As IDisplay, _
    ByVal pSpatialRef As ISpatialReference, _
    ByVal barrierColl As IBarrierCollection, _
    ByRef placedElement As IElement, _
    ByRef unplacedElement As IElement _
public void Label (
    IAnnotateLayerProperties annoLayerProps,
    IFeature Feature,
    IDisplay Display,
    ISpatialReference pSpatialRef,
    IBarrierCollection barrierColl,
    ref IElement placedElement,
    ref IElement unplacedElement
  IAnnotateLayerProperties* annoLayerProps,
  IFeature* Feature,
  IDisplay* Display,
  ISpatialReference* pSpatialRef,
  IBarrierCollection* barrierColl,
  IElement** placedElement,
  IElement** unplacedElement
annoLayerProps [in]

annoLayerProps is a parameter of type IAnnotateLayerProperties* Feature [in]
Feature is a parameter of type IFeature* Display [in]
Display is a parameter of type IDisplay* pSpatialRef [in]
pSpatialRef is a parameter of type ISpatialReference* barrierColl [in]
barrierColl is a parameter of type IBarrierCollection* placedElement [out]
placedElement is a parameter of type IElement** unplacedElement [out]
unplacedElement is a parameter of type IElement**

Product Availability

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

See Also

IAnnotateFeature Interface