[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfGraphics.BeginLayer

BeginLayer Method

BeginLayer(string)

Begins rendering to a layer specified by layerName. That name should match the Name of an existing OptionalContentGroup in the Groups collection of the current document's OptionalContent.

The EndLayer() method must be called to end rendering to the specified layer.

Declaration
public void BeginLayer(string layerName)
Public Sub BeginLayer(layerName As String)
Parameters
Type Name Description
string layerName

The name of the target layer.

BeginLayer(OptionalContentGroup)

Begins rendering to the specified layer. That layer should already exist in the Groups collection of the current document's OptionalContent.

The EndLayer() method must be called to end rendering to the specified layer.

Declaration
public void BeginLayer(OptionalContentGroup layer)
Public Sub BeginLayer(layer As OptionalContentGroup)
Parameters
Type Name Description
OptionalContentGroup layer

The OptionalContentGroup that defines the target layer.

BeginLayer(OptionalContentMembership)

Begins rendering to the specified layer.

The EndLayer() method must be called to end rendering to the specified layer.

Declaration
public void BeginLayer(OptionalContentMembership layer)
Public Sub BeginLayer(layer As OptionalContentMembership)
Parameters
Type Name Description
OptionalContentMembership layer

The OptionalContentMembership that defines the target layer.