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

ILabelEnvironment.LabelStyleMethod Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILabelEnvironment Interface > ILabelEnvironment.LabelStyleMethod Property
ArcGIS Developer Help

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
public esriLabelEnvLabelStyleMethod LabelStyleMethod {get; set;}
HRESULT get_LabelStyleMethod(
  esriLabelEnvLabelStyleMethod Method
HRESULT put_LabelStyleMethod(
  esriLabelEnvLabelStyleMethod* Method
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.


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