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


IGeoFeatureLayer.DisplayAnnotation Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IGeoFeatureLayer.DisplayAnnotation Property

Indicates if the layer displays annotation.

[Visual Basic .NET]
Public Property DisplayAnnotation As Boolean
[C#]
public bool DisplayAnnotation {get; set;}
[C++]
HRESULT get_DisplayAnnotation(
  VARIANT_BOOL* Value
);
[C++]
HRESULT put_DisplayAnnotation(
  VARIANT_BOOL Value
);
[C++]

Parameters Value [out, retval] Value is a parameter of type VARIANT_BOOL Value [in] Value is a parameter of type VARIANT_BOOL

Product Availability

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

Description

Indicates whether dynamic labeling is on for the layer. Use this property to see if labeling is on for a layer, or to toggle labeling on or off.

See Also

IGeoFeatureLayer Interface

.NET Related Topics

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