GoDiagram Win Reference
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)
Return the next object in the Z-order, given an object in this layer.
Syntax
'Declaration
 
Public Function NextObject( _
   ByVal obj As GoObject, _
   ByVal relativeZorder As Integer _
) As GoObject
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLayer Class
GoLayer Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback