GoDiagram Web Reference
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)
Return the next layer in the Z-order, given a layer.
Syntax
'Declaration
 
Public Function NextLayer( _
   ByVal layer As GoLayer, _
   ByVal relativeZorder As Integer _
) As GoLayer
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.
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

GoLayerCollection Class
GoLayerCollection Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback