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

    Parameters

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

    Return Value

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