GoDiagram Web Reference
CreateNewLayerAfter Method

an existing layer in this collection, or null to signify the Top layer
Create a new GoLayer positioned after (i.e. in front of) an existing layer.
Syntax
'Declaration
 
Public Function CreateNewLayerAfter( _
   ByVal dest As GoLayer _
) As GoLayer
public GoLayer CreateNewLayerAfter( 
   GoLayer dest
)

Parameters

dest
an existing layer in this collection, or null to signify the Top layer

Return Value

The new GoLayer.
Remarks
The new layer will be owned by this collection's LayerCollectionContainer, which may be either a GoDocument or a GoView. The IGoLayerCollectionContainer.RaiseChanged call gets a InsertedLayer hint.
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
CreateNewLayerBefore Method
Remove Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback