MapMatrix NetGIS Class Library

LayerList.Add Method (Object, Boolean)

Adds a new object to the end of this LayerList

public int Add(
   object o,
   bool CalculateZorder
);

Parameters

o
The object to add to the end of the LayerList, this is either a LayerList or a Layer object
CalculateZorder
Flag indicating if the Zorder should be calculated automatically, used to stifle the zorder manipulation during cloning

Return Value

The LayerList index at which the value has been added.

See Also

LayerList Class | MapMatrix.Features Namespace | LayerList.Add Overload List