[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.Composition.Layer.CreateSubLayer

CreateSubLayer Method

CreateSubLayer()

Creates a nested Layer object and adds it on top of other nested layers.

Declaration
public Layer CreateSubLayer()
Public Function CreateSubLayer() As Layer
Returns
Type Description
Layer

CreateSubLayer(Action<GcGraphics, Layer>)

Creates a nested Layer object and adds it on top of other nested layers.

Declaration
public Layer CreateSubLayer(Action<GcGraphics, Layer> draw)
Public Function CreateSubLayer(draw As Action(Of GcGraphics, Layer)) As Layer
Parameters
Type Name Description
Action<GcGraphics, Layer> draw

A delegate that accepts a GcGraphics object and a Layer, and draws the layer on the graphics.

Returns
Type Description
Layer