GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLayerCollection Class / NextLayer Method
a GoLayer that is in this layer collection
a value of 1 returns the next layer (just in front of layer); a value of -1 returns the previous layer (just behind layer)
In This Topic
    NextLayer Method
    In This Topic
    Return the next layer in the Z-order, given a layer.
    Syntax
    public GoLayer NextLayer( 
       GoLayer layer,
       int relativeZorder
    )

    Parameters

    layer
    a GoLayer that is in this layer collection
    relativeZorder
    a value of 1 returns the next layer (just in front of layer); a value of -1 returns the previous layer (just behind layer)

    Return Value

    null if layer is null or does not belong to this layer collection or if there is no layer at the Z-order position indicated by relativeZorder.
    See Also