This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerPosition Interface > ILayerPosition.LayerWeight Property (ArcObjects .NET 10.4 SDK) |
Default layer position.
[Visual Basic .NET] Public Property LayerWeight As Double
[C#] public double LayerWeight {get; set;}
[C++]
HRESULT get_LayerWeight(
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
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