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


ILabelEnvironment.LabelStyleMethod Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ILabelEnvironment.LabelStyleMethod Property

The label style method. This indicates whether the label style comes from the feature layer or the label environment.

[Visual Basic .NET]
Public Property LabelStyleMethod As esriLabelEnvLabelStyleMethod
[C#]
public esriLabelEnvLabelStyleMethod LabelStyleMethod {get; set;}
[C++]
HRESULT get_LabelStyleMethod(
  esriLabelEnvLabelStyleMethod Method
);
[C++]
HRESULT put_LabelStyleMethod(
  esriLabelEnvLabelStyleMethod* Method
);
[C++]

Parameters Method [in]
Method is a parameter of type esriLabelEnvLabelStyleMethod Method [out, retval]
Method is a parameter of type esriLabelEnvLabelStyleMethod*

Product Availability

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

Remarks

When the Label tool is used, this property determines whether the label style (which includes label placement properties and a text symbol) is chosen by the user on the Labeling dialog, or comes from the labeling properties of the layer being labeled.

If ILabelEnvironment::Placement is set to esriPlaceWhereClick, then no label placement properties are used, and only the text symbol is taken from either the chosen label style or the layer's labeling properties.

See Also

ILabelEnvironment Interface