Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout.Composition Namespace / Layer Class / CreateSubLayer Method / CreateSubLayer(Action<GcGraphics,Layer>) Method
A delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Layer, and draws the layer on the graphics.

In This Topic
    CreateSubLayer(Action<GcGraphics,Layer>) Method
    In This Topic
    Creates a nested Layer object and adds it on top of other nested layers.
    Syntax
    'Declaration
     
    Public Overloads Function CreateSubLayer( _
       ByVal draw As System.Action(Of GcGraphics,Layer) _
    ) As Layer
    public Layer CreateSubLayer( 
       System.Action<GcGraphics,Layer> draw
    )

    Parameters

    draw
    A delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Layer, and draws the layer on the graphics.
    See Also