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


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

ILayerPosition.LayerWeight Property

Default layer position.

[Visual Basic .NET]
Public Property LayerWeight As Double
[C#]
public double LayerWeight {get; set;}
[C++]
HRESULT get_LayerWeight(
  System.Double* LayerWeight
);
[C++]
HRESULT put_LayerWeight(
  double LayerWeight
);
[C++]
Parameters
LayerWeight [out, retval]

LayerWeight is a parameter of type double* LayerWeight [in]
LayerWeight is a parameter of type double

Product Availability

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

Description

The LayerWeight property defines the weight of the layer in the auto arrange order.   During auto arrange, the higher weight layers are added to the map first, which means they draw lower in the draw order.


Default weights for layers are these values:
Annotation layers = 97
Points layers = 98
Polyline layers = 99
Polygon Layers = 100

See Also

ILayerPosition Interface