GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / InitializeLayersFromDocument Method
In This Topic
    InitializeLayersFromDocument Method (GoView)
    In This Topic
    This method is responsible for setting up the view's collection of layers to include all of the document's layers, in order, followed by the view's default layer.
    Syntax
    public virtual void InitializeLayersFromDocument()
    Remarks
    This removes all old document layers and clears out all view layers from this view's GoLayerCollection, adds all of the new document's layers, and leaves the default view layer in front of all layers. Any BackgroundGrid or Sheet is kept in the BackgroundLayer.
    See Also