This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnotateFeature Interface > IAnnotateFeature.Label Method (ArcObjects .NET 10.5 SDK) |
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 _ )
[C#] public void Label ( IAnnotateLayerProperties annoLayerProps, IFeature Feature, IDisplay Display, ISpatialReference pSpatialRef, IBarrierCollection barrierColl, ref IElement placedElement, ref IElement unplacedElement );
[C++]
HRESULT Label(
IAnnotateLayerProperties* annoLayerProps,
IFeature* Feature,
IDisplay* Display,
ISpatialReference* pSpatialRef,
IBarrierCollection* barrierColl,
IElement** placedElement,
IElement** unplacedElement
);
[C++]
Parameters 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